OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef TOOLS_GN_PARSE_TREE_H_ | 5 #ifndef TOOLS_GN_PARSE_TREE_H_ |
6 #define TOOLS_GN_PARSE_TREE_H_ | 6 #define TOOLS_GN_PARSE_TREE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "tools/gn/err.h" | 12 #include "tools/gn/err.h" |
13 #include "tools/gn/token.h" | 13 #include "tools/gn/token.h" |
14 #include "tools/gn/value.h" | 14 #include "tools/gn/value.h" |
15 | 15 |
16 class AccessorNode; | 16 class AccessorNode; |
17 class BinaryOpNode; | 17 class BinaryOpNode; |
18 class BlockCommentNode; | 18 class BlockCommentNode; |
19 class BlockNode; | 19 class BlockNode; |
20 class ConditionNode; | 20 class ConditionNode; |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 const Token& value() const { return value_; } | 510 const Token& value() const { return value_; } |
511 void set_value(const Token& t) { value_ = t; } | 511 void set_value(const Token& t) { value_ = t; } |
512 | 512 |
513 private: | 513 private: |
514 Token value_; | 514 Token value_; |
515 | 515 |
516 DISALLOW_COPY_AND_ASSIGN(EndNode); | 516 DISALLOW_COPY_AND_ASSIGN(EndNode); |
517 }; | 517 }; |
518 | 518 |
519 #endif // TOOLS_GN_PARSE_TREE_H_ | 519 #endif // TOOLS_GN_PARSE_TREE_H_ |
OLD | NEW |