| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 KW(kFACTORY, "factory", 0, kPseudoKeyword) \ | 160 KW(kFACTORY, "factory", 0, kPseudoKeyword) \ |
| 161 KW(kFALSE, "false", 0, kKeyword) \ | 161 KW(kFALSE, "false", 0, kKeyword) \ |
| 162 KW(kFINAL, "final", 0, kKeyword) \ | 162 KW(kFINAL, "final", 0, kKeyword) \ |
| 163 KW(kFINALLY, "finally", 0, kKeyword) \ | 163 KW(kFINALLY, "finally", 0, kKeyword) \ |
| 164 KW(kFOR, "for", 0, kKeyword) \ | 164 KW(kFOR, "for", 0, kKeyword) \ |
| 165 KW(kGET, "get", 0, kPseudoKeyword) \ | 165 KW(kGET, "get", 0, kPseudoKeyword) \ |
| 166 KW(kIF, "if", 0, kKeyword) \ | 166 KW(kIF, "if", 0, kKeyword) \ |
| 167 KW(kIMPLEMENTS, "implements", 0, kPseudoKeyword) \ | 167 KW(kIMPLEMENTS, "implements", 0, kPseudoKeyword) \ |
| 168 KW(kIMPORT, "import", 0, kPseudoKeyword) \ | 168 KW(kIMPORT, "import", 0, kPseudoKeyword) \ |
| 169 KW(kIN, "in", 0, kKeyword) \ | 169 KW(kIN, "in", 0, kKeyword) \ |
| 170 KW(kINTERFACE, "interface", 0, kPseudoKeyword) \ | |
| 171 KW(kIS, "is", 10, kKeyword) \ | 170 KW(kIS, "is", 10, kKeyword) \ |
| 172 KW(kLIBRARY, "library", 0, kPseudoKeyword) \ | 171 KW(kLIBRARY, "library", 0, kPseudoKeyword) \ |
| 173 KW(kNEW, "new", 0, kKeyword) \ | 172 KW(kNEW, "new", 0, kKeyword) \ |
| 174 KW(kNULL, "null", 0, kKeyword) \ | 173 KW(kNULL, "null", 0, kKeyword) \ |
| 175 KW(kOPERATOR, "operator", 0, kPseudoKeyword) \ | 174 KW(kOPERATOR, "operator", 0, kPseudoKeyword) \ |
| 176 KW(kPART, "part", 0, kPseudoKeyword) \ | 175 KW(kPART, "part", 0, kPseudoKeyword) \ |
| 177 KW(kRETURN, "return", 0, kKeyword) \ | 176 KW(kRETURN, "return", 0, kKeyword) \ |
| 178 KW(kSET, "set", 0, kPseudoKeyword) \ | 177 KW(kSET, "set", 0, kPseudoKeyword) \ |
| 179 KW(kSTATIC, "static", 0, kPseudoKeyword) \ | 178 KW(kSTATIC, "static", 0, kPseudoKeyword) \ |
| 180 KW(kSUPER, "super", 0, kKeyword) \ | 179 KW(kSUPER, "super", 0, kKeyword) \ |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 static const char* name_[]; | 296 static const char* name_[]; |
| 298 static const char* tok_str_[]; | 297 static const char* tok_str_[]; |
| 299 static const uint8_t precedence_[]; | 298 static const uint8_t precedence_[]; |
| 300 static const Attribute attributes_[]; | 299 static const Attribute attributes_[]; |
| 301 }; | 300 }; |
| 302 | 301 |
| 303 | 302 |
| 304 } // namespace dart | 303 } // namespace dart |
| 305 | 304 |
| 306 #endif // VM_TOKEN_H_ | 305 #endif // VM_TOKEN_H_ |
| OLD | NEW |