| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 TOK(kAS, "", 10, kNoAttribute) \ | 114 TOK(kAS, "", 10, kNoAttribute) \ |
| 115 \ | 115 \ |
| 116 TOK(kINDEX, "[]", 0, kNoAttribute) \ | 116 TOK(kINDEX, "[]", 0, kNoAttribute) \ |
| 117 TOK(kASSIGN_INDEX, "[]=", 0, kNoAttribute) \ | 117 TOK(kASSIGN_INDEX, "[]=", 0, kNoAttribute) \ |
| 118 \ | 118 \ |
| 119 TOK(kIDENT, "", 0, kNoAttribute) \ | 119 TOK(kIDENT, "", 0, kNoAttribute) \ |
| 120 TOK(kSTRING, "", 0, kNoAttribute) \ | 120 TOK(kSTRING, "", 0, kNoAttribute) \ |
| 121 TOK(kINTEGER, "", 0, kNoAttribute) \ | 121 TOK(kINTEGER, "", 0, kNoAttribute) \ |
| 122 TOK(kDOUBLE, "", 0, kNoAttribute) \ | 122 TOK(kDOUBLE, "", 0, kNoAttribute) \ |
| 123 \ | 123 \ |
| 124 TOK(kINTERPOL_VAR, "", 0, kNoAttribute) \ | 124 TOK(kINTERPOL_VAR, "$", 0, kNoAttribute) \ |
| 125 TOK(kINTERPOL_START, "", 0, kNoAttribute) \ | 125 TOK(kINTERPOL_START, "${", 0, kNoAttribute) \ |
| 126 TOK(kINTERPOL_END, "", 0, kNoAttribute) \ | 126 TOK(kINTERPOL_END, "}", 0, kNoAttribute) \ |
| 127 \ | 127 \ |
| 128 TOK(kWHITESP, "", 0, kNoAttribute) \ | 128 TOK(kWHITESP, "", 0, kNoAttribute) \ |
| 129 TOK(kERROR, "", 0, kNoAttribute) \ | 129 TOK(kERROR, "", 0, kNoAttribute) \ |
| 130 TOK(kILLEGAL, "", 0, kNoAttribute) \ | 130 TOK(kILLEGAL, "", 0, kNoAttribute) \ |
| 131 \ | 131 \ |
| 132 /* Support for Dart scripts. */ \ | 132 /* Support for Dart scripts. */ \ |
| 133 TOK(kSCRIPTTAG, "#!", 0, kNoAttribute) \ | 133 TOK(kSCRIPTTAG, "#!", 0, kNoAttribute) \ |
| 134 TOK(kLIBRARY, "#library", 0, kNoAttribute) \ | 134 TOK(kLIBRARY, "#library", 0, kNoAttribute) \ |
| 135 TOK(kIMPORT, "#import", 0, kNoAttribute) \ | 135 TOK(kIMPORT, "#import", 0, kNoAttribute) \ |
| 136 TOK(kSOURCE, "#source", 0, kNoAttribute) \ | 136 TOK(kSOURCE, "#source", 0, kNoAttribute) \ |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 static const char* name_[]; | 284 static const char* name_[]; |
| 285 static const char* tok_str_[]; | 285 static const char* tok_str_[]; |
| 286 static const uint8_t precedence_[]; | 286 static const uint8_t precedence_[]; |
| 287 static const Attribute attributes_[]; | 287 static const Attribute attributes_[]; |
| 288 }; | 288 }; |
| 289 | 289 |
| 290 | 290 |
| 291 } // namespace dart | 291 } // namespace dart |
| 292 | 292 |
| 293 #endif // VM_TOKEN_H_ | 293 #endif // VM_TOKEN_H_ |
| OLD | NEW |