Chromium Code Reviews| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 104 /* any changes to this block. */ \ | 104 /* any changes to this block. */ \ |
| 105 TOK(kLT, "<", 10, kNoAttribute) \ | 105 TOK(kLT, "<", 10, kNoAttribute) \ |
| 106 TOK(kGT, ">", 10, kNoAttribute) \ | 106 TOK(kGT, ">", 10, kNoAttribute) \ |
| 107 TOK(kLTE, "<=", 10, kNoAttribute) \ | 107 TOK(kLTE, "<=", 10, kNoAttribute) \ |
| 108 TOK(kGTE, ">=", 10, kNoAttribute) \ | 108 TOK(kGTE, ">=", 10, kNoAttribute) \ |
| 109 \ | 109 \ |
| 110 /* Internal token for !(expr is Type) negative type test operator */ \ | 110 /* Internal token for !(expr is Type) negative type test operator */ \ |
| 111 TOK(kISNOT, "", 10, kNoAttribute) \ | 111 TOK(kISNOT, "", 10, kNoAttribute) \ |
| 112 \ | 112 \ |
| 113 /* Internal token for (expr as Type) type cast operator */ \ | 113 /* Internal token for (expr as Type) type cast operator */ \ |
| 114 TOK(kAS, "AS", 10, kNoAttribute) \ | 114 TOK(kAS, "", 10, kNoAttribute) \ |
|
regis
2012/09/06 16:11:02
\ -> col 80
srdjan
2012/09/06 17:03:45
Done.
| |
| 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) \ |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 295 static const char* name_[]; | 295 static const char* name_[]; |
| 296 static const char* tok_str_[]; | 296 static const char* tok_str_[]; |
| 297 static const uint8_t precedence_[]; | 297 static const uint8_t precedence_[]; |
| 298 static const Attribute attributes_[]; | 298 static const Attribute attributes_[]; |
| 299 }; | 299 }; |
| 300 | 300 |
| 301 | 301 |
| 302 } // namespace dart | 302 } // namespace dart |
| 303 | 303 |
| 304 #endif // VM_TOKEN_H_ | 304 #endif // VM_TOKEN_H_ |
| OLD | NEW |