OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_PARSER_H_ | 5 #ifndef TOOLS_GN_PARSER_H_ |
6 #define TOOLS_GN_PARSER_H_ | 6 #define TOOLS_GN_PARSER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
12 #include "base/macros.h" | 14 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
14 #include "tools/gn/err.h" | 16 #include "tools/gn/err.h" |
15 #include "tools/gn/parse_tree.h" | 17 #include "tools/gn/parse_tree.h" |
16 | 18 |
17 class Parser; | 19 class Parser; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 FRIEND_TEST_ALL_PREFIXES(Parser, Expression); | 125 FRIEND_TEST_ALL_PREFIXES(Parser, Expression); |
124 FRIEND_TEST_ALL_PREFIXES(Parser, FunctionCall); | 126 FRIEND_TEST_ALL_PREFIXES(Parser, FunctionCall); |
125 FRIEND_TEST_ALL_PREFIXES(Parser, List); | 127 FRIEND_TEST_ALL_PREFIXES(Parser, List); |
126 FRIEND_TEST_ALL_PREFIXES(Parser, ParenExpression); | 128 FRIEND_TEST_ALL_PREFIXES(Parser, ParenExpression); |
127 FRIEND_TEST_ALL_PREFIXES(Parser, UnaryOp); | 129 FRIEND_TEST_ALL_PREFIXES(Parser, UnaryOp); |
128 | 130 |
129 DISALLOW_COPY_AND_ASSIGN(Parser); | 131 DISALLOW_COPY_AND_ASSIGN(Parser); |
130 }; | 132 }; |
131 | 133 |
132 #endif // TOOLS_GN_PARSER_H_ | 134 #endif // TOOLS_GN_PARSER_H_ |
OLD | NEW |