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 <stddef.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
12 #include "tools/gn/err.h" | 14 #include "tools/gn/err.h" |
13 #include "tools/gn/token.h" | 15 #include "tools/gn/token.h" |
14 #include "tools/gn/value.h" | 16 #include "tools/gn/value.h" |
15 | 17 |
16 class AccessorNode; | 18 class AccessorNode; |
17 class BinaryOpNode; | 19 class BinaryOpNode; |
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 const Token& value() const { return value_; } | 516 const Token& value() const { return value_; } |
515 void set_value(const Token& t) { value_ = t; } | 517 void set_value(const Token& t) { value_ = t; } |
516 | 518 |
517 private: | 519 private: |
518 Token value_; | 520 Token value_; |
519 | 521 |
520 DISALLOW_COPY_AND_ASSIGN(EndNode); | 522 DISALLOW_COPY_AND_ASSIGN(EndNode); |
521 }; | 523 }; |
522 | 524 |
523 #endif // TOOLS_GN_PARSE_TREE_H_ | 525 #endif // TOOLS_GN_PARSE_TREE_H_ |
OLD | NEW |