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 |
(...skipping 19 matching lines...) Expand all Loading... |
30 V(IndexToken, "[]") \ | 30 V(IndexToken, "[]") \ |
31 V(AssignIndexToken, "[]=") \ | 31 V(AssignIndexToken, "[]=") \ |
32 V(TopLevel, "::") \ | 32 V(TopLevel, "::") \ |
33 V(DefaultLabel, ":L") \ | 33 V(DefaultLabel, ":L") \ |
34 V(This, "this") \ | 34 V(This, "this") \ |
35 V(Other, "other") \ | 35 V(Other, "other") \ |
36 V(Super, "super") \ | 36 V(Super, "super") \ |
37 V(Call, "call") \ | 37 V(Call, "call") \ |
38 V(Current, "current") \ | 38 V(Current, "current") \ |
39 V(MoveNext, "moveNext") \ | 39 V(MoveNext, "moveNext") \ |
| 40 V(IsYieldEach, "isYieldEach") \ |
40 V(Value, "value") \ | 41 V(Value, "value") \ |
41 V(_EnumHelper, "_EnumHelper") \ | 42 V(_EnumHelper, "_EnumHelper") \ |
| 43 V(_SyncIterable, "_SyncIterable") \ |
| 44 V(_SyncIterableConstructor, "_SyncIterable.") \ |
| 45 V(_SyncIterator, "_SyncIterator") \ |
| 46 V(IteratorParameter, ":iterator") \ |
42 V(Values, "values") \ | 47 V(Values, "values") \ |
43 V(_EnumNames, "_enum_names") \ | 48 V(_EnumNames, "_enum_names") \ |
44 V(ExprTemp, ":expr_temp") \ | 49 V(ExprTemp, ":expr_temp") \ |
45 V(AnonymousClosure, "<anonymous closure>") \ | 50 V(AnonymousClosure, "<anonymous closure>") \ |
46 V(ClosureParameter, ":closure") \ | 51 V(ClosureParameter, ":closure") \ |
47 V(PhaseParameter, ":phase") \ | 52 V(PhaseParameter, ":phase") \ |
48 V(TypeArgumentsParameter, ":type_arguments") \ | 53 V(TypeArgumentsParameter, ":type_arguments") \ |
49 V(AssertionError, "_AssertionError") \ | 54 V(AssertionError, "_AssertionError") \ |
50 V(CastError, "_CastError") \ | 55 V(CastError, "_CastError") \ |
51 V(TypeError, "_TypeError") \ | 56 V(TypeError, "_TypeError") \ |
52 V(FallThroughError, "FallThroughError") \ | 57 V(FallThroughError, "FallThroughError") \ |
53 V(AbstractClassInstantiationError, "AbstractClassInstantiationError") \ | 58 V(AbstractClassInstantiationError, "AbstractClassInstantiationError") \ |
54 V(NoSuchMethodError, "NoSuchMethodError") \ | 59 V(NoSuchMethodError, "NoSuchMethodError") \ |
55 V(CyclicInitializationError, "CyclicInitializationError") \ | 60 V(CyclicInitializationError, "CyclicInitializationError") \ |
56 V(ThrowNew, "_throwNew") \ | 61 V(ThrowNew, "_throwNew") \ |
57 V(Symbol, "Symbol") \ | 62 V(Symbol, "Symbol") \ |
58 V(SymbolCtor, "Symbol.") \ | 63 V(SymbolCtor, "Symbol.") \ |
59 V(List, "List") \ | 64 V(List, "List") \ |
60 V(ListLiteralFactory, "List._fromLiteral") \ | 65 V(ListLiteralFactory, "List._fromLiteral") \ |
61 V(ListFactory, "List.") \ | 66 V(ListFactory, "List.") \ |
62 V(Map, "Map") \ | 67 V(Map, "Map") \ |
63 V(MapLiteralFactory, "Map._fromLiteral") \ | 68 V(MapLiteralFactory, "Map._fromLiteral") \ |
64 V(ImmutableMap, "ImmutableMap") \ | 69 V(ImmutableMap, "ImmutableMap") \ |
65 V(ImmutableMapConstructor, "ImmutableMap._create") \ | 70 V(ImmutableMapConstructor, "ImmutableMap._create") \ |
66 V(StringBase, "_StringBase") \ | 71 V(StringBase, "_StringBase") \ |
67 V(Interpolate, "_interpolate") \ | 72 V(Interpolate, "_interpolate") \ |
68 V(InterpolateSingle, "_interpolateSingle") \ | 73 V(InterpolateSingle, "_interpolateSingle") \ |
69 V(GetIterator, "iterator") \ | 74 V(iterator, "iterator") \ |
70 V(NoSuchMethod, "noSuchMethod") \ | 75 V(NoSuchMethod, "noSuchMethod") \ |
71 V(CurrentContextVar, ":current_context_var") \ | 76 V(CurrentContextVar, ":current_context_var") \ |
72 V(SavedTryContextVar, ":saved_try_context_var") \ | 77 V(SavedTryContextVar, ":saved_try_context_var") \ |
73 V(ExceptionParameter, ":exception") \ | 78 V(ExceptionParameter, ":exception") \ |
74 V(StackTraceParameter, ":stack_trace") \ | 79 V(StackTraceParameter, ":stack_trace") \ |
75 V(ExceptionVar, ":exception_var") \ | 80 V(ExceptionVar, ":exception_var") \ |
76 V(StackTraceVar, ":stack_trace_var") \ | 81 V(StackTraceVar, ":stack_trace_var") \ |
77 V(ListLiteralElement, "list literal element") \ | 82 V(ListLiteralElement, "list literal element") \ |
78 V(ForInIter, ":for-in-iter") \ | 83 V(ForInIter, ":for-in-iter") \ |
79 V(Library, "library") \ | 84 V(Library, "library") \ |
80 V(LoadLibrary, "loadLibrary") \ | 85 V(LoadLibrary, "loadLibrary") \ |
81 V(_LibraryPrefix, "_LibraryPrefix") \ | 86 V(_LibraryPrefix, "_LibraryPrefix") \ |
82 V(Async, "async") \ | 87 V(Async, "async") \ |
| 88 V(Sync, "sync") \ |
| 89 V(Yield, "yield") \ |
83 V(AsyncCompleter, ":async_completer") \ | 90 V(AsyncCompleter, ":async_completer") \ |
84 V(AsyncOperation, ":async_op") \ | 91 V(AsyncOperation, ":async_op") \ |
85 V(AsyncOperationParam, ":async_result") \ | 92 V(AsyncOperationParam, ":async_result") \ |
86 V(AsyncOperationErrorParam, ":async_error_param") \ | 93 V(AsyncOperationErrorParam, ":async_error_param") \ |
87 V(AsyncOperationStackTraceParam, ":async_stack_trace_param") \ | 94 V(AsyncOperationStackTraceParam, ":async_stack_trace_param") \ |
88 V(AsyncCatchHelper, "_asyncCatchHelper") \ | 95 V(AsyncCatchHelper, "_asyncCatchHelper") \ |
89 V(Await, "await") \ | 96 V(Await, "await") \ |
90 V(AwaitContextVar, ":await_ctx_var") \ | 97 V(AwaitContextVar, ":await_ctx_var") \ |
91 V(AwaitJumpVar, ":await_jump_var") \ | 98 V(AwaitJumpVar, ":await_jump_var") \ |
92 V(Future, "Future") \ | 99 V(Future, "Future") \ |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 friend class SnapshotReader; | 582 friend class SnapshotReader; |
576 friend class SnapshotWriter; | 583 friend class SnapshotWriter; |
577 friend class ApiMessageReader; | 584 friend class ApiMessageReader; |
578 | 585 |
579 DISALLOW_COPY_AND_ASSIGN(Symbols); | 586 DISALLOW_COPY_AND_ASSIGN(Symbols); |
580 }; | 587 }; |
581 | 588 |
582 } // namespace dart | 589 } // namespace dart |
583 | 590 |
584 #endif // VM_SYMBOLS_H_ | 591 #endif // VM_SYMBOLS_H_ |
OLD | NEW |