| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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_POSITION_H_ | 5 #ifndef RUNTIME_VM_TOKEN_POSITION_H_ |
| 6 #define VM_TOKEN_POSITION_H_ | 6 #define RUNTIME_VM_TOKEN_POSITION_H_ |
| 7 | 7 |
| 8 #include "platform/utils.h" | 8 #include "platform/utils.h" |
| 9 #include "vm/allocation.h" | 9 #include "vm/allocation.h" |
| 10 | 10 |
| 11 namespace dart { | 11 namespace dart { |
| 12 | 12 |
| 13 // The token space is organized as follows: | 13 // The token space is organized as follows: |
| 14 // | 14 // |
| 15 // Sentinel values start at -1 and move towards negative infinity: | 15 // Sentinel values start at -1 and move towards negative infinity: |
| 16 // kNoSourcePos -> -1 | 16 // kNoSourcePos -> -1 |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 const char* ToCString() const; | 198 const char* ToCString() const; |
| 199 | 199 |
| 200 private: | 200 private: |
| 201 int32_t value_; | 201 int32_t value_; |
| 202 | 202 |
| 203 DISALLOW_ALLOCATION(); | 203 DISALLOW_ALLOCATION(); |
| 204 }; | 204 }; |
| 205 | 205 |
| 206 } // namespace dart | 206 } // namespace dart |
| 207 | 207 |
| 208 #endif // VM_TOKEN_POSITION_H_ | 208 #endif // RUNTIME_VM_TOKEN_POSITION_H_ |
| OLD | NEW |