| OLD | NEW |
| 1 // Copyright (c) 2011, 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 "vm/assert.h" | 8 #include "platform/assert.h" |
| 9 | 9 |
| 10 namespace dart { | 10 namespace dart { |
| 11 | 11 |
| 12 // Operator precedence table | 12 // Operator precedence table |
| 13 // | 13 // |
| 14 // 13 multiplicative * / ~/ % | 14 // 13 multiplicative * / ~/ % |
| 15 // 12 additive + - | 15 // 12 additive + - |
| 16 // 11 shift << >> | 16 // 11 shift << >> |
| 17 // 10 relational >= > <= < is | 17 // 10 relational >= > <= < is |
| 18 // 9 equality == != === !== | 18 // 9 equality == != === !== |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 static const char* name_[kNumTokens]; | 250 static const char* name_[kNumTokens]; |
| 251 static const char* tok_str_[kNumTokens]; | 251 static const char* tok_str_[kNumTokens]; |
| 252 static const uint8_t precedence_[kNumTokens]; | 252 static const uint8_t precedence_[kNumTokens]; |
| 253 static const Attribute attributes_[kNumTokens]; | 253 static const Attribute attributes_[kNumTokens]; |
| 254 }; | 254 }; |
| 255 | 255 |
| 256 | 256 |
| 257 } // namespace dart | 257 } // namespace dart |
| 258 | 258 |
| 259 #endif // VM_TOKEN_H_ | 259 #endif // VM_TOKEN_H_ |
| OLD | NEW |