OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef VM_TOKEN_H_ | 5 #ifndef VM_TOKEN_H_ |
6 #define VM_TOKEN_H_ | 6 #define VM_TOKEN_H_ |
7 | 7 |
8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
9 | 9 |
10 namespace dart { | 10 namespace dart { |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 KW(kBREAK, "break", 0, kKeyword) \ | 146 KW(kBREAK, "break", 0, kKeyword) \ |
147 KW(kCASE, "case", 0, kKeyword) \ | 147 KW(kCASE, "case", 0, kKeyword) \ |
148 KW(kCATCH, "catch", 0, kKeyword) \ | 148 KW(kCATCH, "catch", 0, kKeyword) \ |
149 KW(kCLASS, "class", 0, kKeyword) \ | 149 KW(kCLASS, "class", 0, kKeyword) \ |
150 KW(kCONST, "const", 0, kKeyword) \ | 150 KW(kCONST, "const", 0, kKeyword) \ |
151 KW(kCONTINUE, "continue", 0, kKeyword) \ | 151 KW(kCONTINUE, "continue", 0, kKeyword) \ |
152 KW(kDEFAULT, "default", 0, kKeyword) \ | 152 KW(kDEFAULT, "default", 0, kKeyword) \ |
153 KW(kDO, "do", 0, kKeyword) \ | 153 KW(kDO, "do", 0, kKeyword) \ |
154 KW(kELSE, "else", 0, kKeyword) \ | 154 KW(kELSE, "else", 0, kKeyword) \ |
155 KW(kEXTENDS, "extends", 0, kKeyword) \ | 155 KW(kEXTENDS, "extends", 0, kKeyword) \ |
| 156 KW(kEXTERNAL, "external", 0, kPseudoKeyword) \ |
156 KW(kFACTORY, "factory", 0, kPseudoKeyword) \ | 157 KW(kFACTORY, "factory", 0, kPseudoKeyword) \ |
157 KW(kFALSE, "false", 0, kKeyword) \ | 158 KW(kFALSE, "false", 0, kKeyword) \ |
158 KW(kFINAL, "final", 0, kKeyword) \ | 159 KW(kFINAL, "final", 0, kKeyword) \ |
159 KW(kFINALLY, "finally", 0, kKeyword) \ | 160 KW(kFINALLY, "finally", 0, kKeyword) \ |
160 KW(kFOR, "for", 0, kKeyword) \ | 161 KW(kFOR, "for", 0, kKeyword) \ |
161 KW(kGET, "get", 0, kPseudoKeyword) \ | 162 KW(kGET, "get", 0, kPseudoKeyword) \ |
162 KW(kIF, "if", 0, kKeyword) \ | 163 KW(kIF, "if", 0, kKeyword) \ |
163 KW(kIMPLEMENTS, "implements", 0, kPseudoKeyword) \ | 164 KW(kIMPLEMENTS, "implements", 0, kPseudoKeyword) \ |
164 KW(kIN, "in", 0, kKeyword) \ | 165 KW(kIN, "in", 0, kKeyword) \ |
165 KW(kINTERFACE, "interface", 0, kPseudoKeyword) \ | 166 KW(kINTERFACE, "interface", 0, kPseudoKeyword) \ |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 static const char* name_[]; | 285 static const char* name_[]; |
285 static const char* tok_str_[]; | 286 static const char* tok_str_[]; |
286 static const uint8_t precedence_[]; | 287 static const uint8_t precedence_[]; |
287 static const Attribute attributes_[]; | 288 static const Attribute attributes_[]; |
288 }; | 289 }; |
289 | 290 |
290 | 291 |
291 } // namespace dart | 292 } // namespace dart |
292 | 293 |
293 #endif // VM_TOKEN_H_ | 294 #endif // VM_TOKEN_H_ |
OLD | NEW |