| 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_SYMBOLS_H_ | 5 #ifndef VM_SYMBOLS_H_ |
| 6 #define VM_SYMBOLS_H_ | 6 #define VM_SYMBOLS_H_ |
| 7 | 7 |
| 8 #include "vm/object.h" | 8 #include "vm/object.h" |
| 9 #include "vm/snapshot_ids.h" | 9 #include "vm/snapshot_ids.h" |
| 10 | 10 |
| 11 namespace dart { | 11 namespace dart { |
| 12 | 12 |
| 13 // Forward declarations. | 13 // Forward declarations. |
| 14 class Isolate; | 14 class Isolate; |
| 15 class ObjectPointerVisitor; | 15 class ObjectPointerVisitor; |
| 16 | 16 |
| 17 #define PREDEFINED_SYMBOLS_LIST(V) \ | 17 #define PREDEFINED_SYMBOLS_LIST(V) \ |
| 18 V(Empty, "") \ | 18 V(Empty, "") \ |
| 19 V(Dot, ".") \ | 19 V(Dot, ".") \ |
| 20 V(Equals, "=") \ | 20 V(Equals, "=") \ |
| 21 V(EqualOperator, "==") \ |
| 21 V(IndexToken, "[]") \ | 22 V(IndexToken, "[]") \ |
| 22 V(AssignIndexToken, "[]=") \ | 23 V(AssignIndexToken, "[]=") \ |
| 23 V(TopLevel, "::") \ | 24 V(TopLevel, "::") \ |
| 24 V(DefaultLabel, ":L") \ | 25 V(DefaultLabel, ":L") \ |
| 25 V(This, "this") \ | 26 V(This, "this") \ |
| 26 V(HasNext, "hasNext") \ | 27 V(HasNext, "hasNext") \ |
| 27 V(Next, "next") \ | 28 V(Next, "next") \ |
| 28 V(Value, "value") \ | 29 V(Value, "value") \ |
| 29 V(ExprTemp, ":expr_temp") \ | 30 V(ExprTemp, ":expr_temp") \ |
| 30 V(AnonymousClosure, "<anonymous closure>") \ | 31 V(AnonymousClosure, "<anonymous closure>") \ |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 friend class SnapshotReader; | 222 friend class SnapshotReader; |
| 222 friend class SnapshotWriter; | 223 friend class SnapshotWriter; |
| 223 friend class ApiMessageReader; | 224 friend class ApiMessageReader; |
| 224 | 225 |
| 225 DISALLOW_COPY_AND_ASSIGN(Symbols); | 226 DISALLOW_COPY_AND_ASSIGN(Symbols); |
| 226 }; | 227 }; |
| 227 | 228 |
| 228 } // namespace dart | 229 } // namespace dart |
| 229 | 230 |
| 230 #endif // VM_SYMBOLS_H_ | 231 #endif // VM_SYMBOLS_H_ |
| OLD | NEW |