| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 KW(kIF, "if", 0, kKeyword) \ | 163 KW(kIF, "if", 0, kKeyword) \ |
| 164 KW(kIMPLEMENTS, "implements", 0, kPseudoKeyword) \ | 164 KW(kIMPLEMENTS, "implements", 0, kPseudoKeyword) \ |
| 165 KW(kIMPORT, "import", 0, kPseudoKeyword) \ | 165 KW(kIMPORT, "import", 0, kPseudoKeyword) \ |
| 166 KW(kIN, "in", 0, kKeyword) \ | 166 KW(kIN, "in", 0, kKeyword) \ |
| 167 KW(kIS, "is", 10, kKeyword) \ | 167 KW(kIS, "is", 10, kKeyword) \ |
| 168 KW(kLIBRARY, "library", 0, kPseudoKeyword) \ | 168 KW(kLIBRARY, "library", 0, kPseudoKeyword) \ |
| 169 KW(kNEW, "new", 0, kKeyword) \ | 169 KW(kNEW, "new", 0, kKeyword) \ |
| 170 KW(kNULL, "null", 0, kKeyword) \ | 170 KW(kNULL, "null", 0, kKeyword) \ |
| 171 KW(kOPERATOR, "operator", 0, kPseudoKeyword) \ | 171 KW(kOPERATOR, "operator", 0, kPseudoKeyword) \ |
| 172 KW(kPART, "part", 0, kPseudoKeyword) \ | 172 KW(kPART, "part", 0, kPseudoKeyword) \ |
| 173 KW(kRETHROW, "rethrow", 0, kKeyword) \ |
| 173 KW(kRETURN, "return", 0, kKeyword) \ | 174 KW(kRETURN, "return", 0, kKeyword) \ |
| 174 KW(kSET, "set", 0, kPseudoKeyword) \ | 175 KW(kSET, "set", 0, kPseudoKeyword) \ |
| 175 KW(kSTATIC, "static", 0, kPseudoKeyword) \ | 176 KW(kSTATIC, "static", 0, kPseudoKeyword) \ |
| 176 KW(kSUPER, "super", 0, kKeyword) \ | 177 KW(kSUPER, "super", 0, kKeyword) \ |
| 177 KW(kSWITCH, "switch", 0, kKeyword) \ | 178 KW(kSWITCH, "switch", 0, kKeyword) \ |
| 178 KW(kTHIS, "this", 0, kKeyword) \ | 179 KW(kTHIS, "this", 0, kKeyword) \ |
| 179 KW(kTHROW, "throw", 0, kKeyword) \ | 180 KW(kTHROW, "throw", 0, kKeyword) \ |
| 180 KW(kTRUE, "true", 0, kKeyword) \ | 181 KW(kTRUE, "true", 0, kKeyword) \ |
| 181 KW(kTRY, "try", 0, kKeyword) \ | 182 KW(kTRY, "try", 0, kKeyword) \ |
| 182 KW(kTYPEDEF, "typedef", 0, kPseudoKeyword) \ | 183 KW(kTYPEDEF, "typedef", 0, kPseudoKeyword) \ |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 static const char* name_[]; | 313 static const char* name_[]; |
| 313 static const char* tok_str_[]; | 314 static const char* tok_str_[]; |
| 314 static const uint8_t precedence_[]; | 315 static const uint8_t precedence_[]; |
| 315 static const Attribute attributes_[]; | 316 static const Attribute attributes_[]; |
| 316 }; | 317 }; |
| 317 | 318 |
| 318 | 319 |
| 319 } // namespace dart | 320 } // namespace dart |
| 320 | 321 |
| 321 #endif // VM_TOKEN_H_ | 322 #endif // VM_TOKEN_H_ |
| OLD | NEW |