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_TOKEN_H_ | 5 #ifndef TOOLS_GN_TOKEN_H_ |
6 #define TOOLS_GN_TOKEN_H_ | 6 #define TOOLS_GN_TOKEN_H_ |
7 | 7 |
8 #include "base/strings/string_piece.h" | 8 #include "base/strings/string_piece.h" |
9 #include "tools/gn/location.h" | 9 #include "tools/gn/location.h" |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 MINUS_EQUALS, | 25 MINUS_EQUALS, |
26 EQUAL_EQUAL, | 26 EQUAL_EQUAL, |
27 NOT_EQUAL, | 27 NOT_EQUAL, |
28 LESS_EQUAL, | 28 LESS_EQUAL, |
29 GREATER_EQUAL, | 29 GREATER_EQUAL, |
30 LESS_THAN, | 30 LESS_THAN, |
31 GREATER_THAN, | 31 GREATER_THAN, |
32 BOOLEAN_AND, | 32 BOOLEAN_AND, |
33 BOOLEAN_OR, | 33 BOOLEAN_OR, |
34 BANG, | 34 BANG, |
| 35 DOT, |
35 | 36 |
36 LEFT_PAREN, | 37 LEFT_PAREN, |
37 RIGHT_PAREN, | 38 RIGHT_PAREN, |
38 LEFT_BRACKET, | 39 LEFT_BRACKET, |
39 RIGHT_BRACKET, | 40 RIGHT_BRACKET, |
40 LEFT_BRACE, | 41 LEFT_BRACE, |
41 RIGHT_BRACE, | 42 RIGHT_BRACE, |
42 | 43 |
43 IF, | 44 IF, |
44 ELSE, | 45 ELSE, |
(...skipping 27 matching lines...) Expand all Loading... |
72 // unescaping). | 73 // unescaping). |
73 std::string StringValue() const; | 74 std::string StringValue() const; |
74 | 75 |
75 private: | 76 private: |
76 Type type_; | 77 Type type_; |
77 base::StringPiece value_; | 78 base::StringPiece value_; |
78 Location location_; | 79 Location location_; |
79 }; | 80 }; |
80 | 81 |
81 #endif // TOOLS_GN_TOKEN_H_ | 82 #endif // TOOLS_GN_TOKEN_H_ |
OLD | NEW |