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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 312 } | 312 } |
| 313 } | 313 } |
| 314 | 314 |
| 315 private: | 315 private: |
| 316 static const char* name_[]; | 316 static const char* name_[]; |
| 317 static const char* tok_str_[]; | 317 static const char* tok_str_[]; |
| 318 static const uint8_t precedence_[]; | 318 static const uint8_t precedence_[]; |
| 319 static const Attribute attributes_[]; | 319 static const Attribute attributes_[]; |
| 320 }; | 320 }; |
| 321 | 321 |
| 322 const int kNoTokenPos = -1; | |
|
Florian Schneider
2014/04/29 20:04:21
We also have Scanner::kNoSourcePos which is 0. Do
Cutch
2014/04/29 20:05:25
Good catch. Let's only have one.
srdjan
2014/04/30 15:00:53
Removed kNoTokenPos
| |
| 323 | |
| 322 | 324 |
| 323 } // namespace dart | 325 } // namespace dart |
| 324 | 326 |
| 325 #endif // VM_TOKEN_H_ | 327 #endif // VM_TOKEN_H_ |
| OLD | NEW |