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 RUNTIME_VM_SYMBOLS_H_ | 5 #ifndef RUNTIME_VM_SYMBOLS_H_ |
6 #define RUNTIME_VM_SYMBOLS_H_ | 6 #define RUNTIME_VM_SYMBOLS_H_ |
7 | 7 |
8 #include "vm/growable_array.h" | 8 #include "vm/growable_array.h" |
9 #include "vm/object.h" | 9 #include "vm/object.h" |
10 #include "vm/snapshot_ids.h" | 10 #include "vm/snapshot_ids.h" |
(...skipping 28 matching lines...) Expand all Loading... |
39 V(MoveNext, "moveNext") \ | 39 V(MoveNext, "moveNext") \ |
40 V(IsYieldEach, "isYieldEach") \ | 40 V(IsYieldEach, "isYieldEach") \ |
41 V(Value, "value") \ | 41 V(Value, "value") \ |
42 V(_EnumHelper, "_EnumHelper") \ | 42 V(_EnumHelper, "_EnumHelper") \ |
43 V(_SyncIterable, "_SyncIterable") \ | 43 V(_SyncIterable, "_SyncIterable") \ |
44 V(_SyncIterableConstructor, "_SyncIterable.") \ | 44 V(_SyncIterableConstructor, "_SyncIterable.") \ |
45 V(_SyncIterator, "_SyncIterator") \ | 45 V(_SyncIterator, "_SyncIterator") \ |
46 V(IteratorParameter, ":iterator") \ | 46 V(IteratorParameter, ":iterator") \ |
47 V(_AsyncStarStreamController, "_AsyncStarStreamController") \ | 47 V(_AsyncStarStreamController, "_AsyncStarStreamController") \ |
48 V(_AsyncStarStreamControllerConstructor, "_AsyncStarStreamController.") \ | 48 V(_AsyncStarStreamControllerConstructor, "_AsyncStarStreamController.") \ |
| 49 V(_AsyncStarListenHelper, "_asyncStarListenHelper") \ |
| 50 V(_AsyncStarMoveNextHelper, "_asyncStarMoveNextHelper") \ |
49 V(Controller, ":controller") \ | 51 V(Controller, ":controller") \ |
| 52 V(ControllerStream, ":controller_stream") \ |
| 53 V(Controller2, "controller") \ |
50 V(Stream, "stream") \ | 54 V(Stream, "stream") \ |
| 55 V(_StreamImpl, "_StreamImpl") \ |
51 V(isPaused, "isPaused") \ | 56 V(isPaused, "isPaused") \ |
52 V(AddError, "addError") \ | 57 V(AddError, "addError") \ |
53 V(AddStream, "addStream") \ | 58 V(AddStream, "addStream") \ |
54 V(Cancel, "cancel") \ | 59 V(Cancel, "cancel") \ |
55 V(Close, "close") \ | 60 V(Close, "close") \ |
56 V(Values, "values") \ | 61 V(Values, "values") \ |
57 V(_EnumNames, "_enum_names") \ | 62 V(_EnumNames, "_enum_names") \ |
58 V(_DeletedEnumSentinel, "_deleted_enum_sentinel") \ | 63 V(_DeletedEnumSentinel, "_deleted_enum_sentinel") \ |
59 V(_DeletedEnumPrefix, "Deleted enum value from ") \ | 64 V(_DeletedEnumPrefix, "Deleted enum value from ") \ |
60 V(ExprTemp, ":expr_temp") \ | 65 V(ExprTemp, ":expr_temp") \ |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 V(CurrentContextVar, ":current_context_var") \ | 98 V(CurrentContextVar, ":current_context_var") \ |
94 V(SavedTryContextVar, ":saved_try_context_var") \ | 99 V(SavedTryContextVar, ":saved_try_context_var") \ |
95 V(ExceptionParameter, ":exception") \ | 100 V(ExceptionParameter, ":exception") \ |
96 V(StackTraceParameter, ":stack_trace") \ | 101 V(StackTraceParameter, ":stack_trace") \ |
97 V(ExceptionVar, ":exception_var") \ | 102 V(ExceptionVar, ":exception_var") \ |
98 V(StackTraceVar, ":stack_trace_var") \ | 103 V(StackTraceVar, ":stack_trace_var") \ |
99 V(SavedExceptionVar, ":saved_exception_var") \ | 104 V(SavedExceptionVar, ":saved_exception_var") \ |
100 V(SavedStackTraceVar, ":saved_stack_trace_var") \ | 105 V(SavedStackTraceVar, ":saved_stack_trace_var") \ |
101 V(ListLiteralElement, "list literal element") \ | 106 V(ListLiteralElement, "list literal element") \ |
102 V(ForInIter, ":for-in-iter") \ | 107 V(ForInIter, ":for-in-iter") \ |
| 108 V(ColonStream, ":stream") \ |
103 V(LoadLibrary, "loadLibrary") \ | 109 V(LoadLibrary, "loadLibrary") \ |
104 V(_LibraryPrefix, "_LibraryPrefix") \ | 110 V(_LibraryPrefix, "_LibraryPrefix") \ |
105 V(On, "on") \ | 111 V(On, "on") \ |
106 V(Of, "of") \ | 112 V(Of, "of") \ |
107 V(Deferred, "deferred") \ | 113 V(Deferred, "deferred") \ |
108 V(Show, "show") \ | 114 V(Show, "show") \ |
109 V(Hide, "hide") \ | 115 V(Hide, "hide") \ |
110 V(Async, "async") \ | 116 V(Async, "async") \ |
111 V(Sync, "sync") \ | 117 V(Sync, "sync") \ |
112 V(YieldKw, "yield") \ | 118 V(YieldKw, "yield") \ |
113 V(AsyncCompleter, ":async_completer") \ | 119 V(AsyncCompleter, ":async_completer") \ |
114 V(AsyncOperation, ":async_op") \ | 120 V(AsyncOperation, ":async_op") \ |
115 V(AsyncThenCallback, ":async_op_then") \ | 121 V(AsyncThenCallback, ":async_op_then") \ |
116 V(AsyncCatchErrorCallback, ":async_op_catch_error") \ | 122 V(AsyncCatchErrorCallback, ":async_op_catch_error") \ |
117 V(AsyncOperationParam, ":async_result") \ | 123 V(AsyncOperationParam, ":async_result") \ |
118 V(AsyncOperationErrorParam, ":async_error_param") \ | 124 V(AsyncOperationErrorParam, ":async_error_param") \ |
119 V(AsyncOperationStackTraceParam, ":async_stack_trace_param") \ | 125 V(AsyncOperationStackTraceParam, ":async_stack_trace_param") \ |
120 V(AsyncSavedTryCtxVarPrefix, ":async_saved_try_ctx_var_") \ | 126 V(AsyncSavedTryCtxVarPrefix, ":async_saved_try_ctx_var_") \ |
121 V(AsyncCatchHelper, "_asyncCatchHelper") \ | 127 V(AsyncCatchHelper, "_asyncCatchHelper") \ |
122 V(AsyncThenWrapperHelper, "_asyncThenWrapperHelper") \ | 128 V(AsyncThenWrapperHelper, "_asyncThenWrapperHelper") \ |
123 V(AsyncErrorWrapperHelper, "_asyncErrorWrapperHelper") \ | 129 V(AsyncErrorWrapperHelper, "_asyncErrorWrapperHelper") \ |
| 130 V(AsyncStackTraceHelper, "_asyncStackTraceHelper") \ |
| 131 V(ClearAsyncThreadStackTrace, "_clearAsyncThreadStackTrace") \ |
| 132 V(SetAsyncThreadStackTrace, "_setAsyncThreadStackTrace") \ |
124 V(AsyncAwaitHelper, "_awaitHelper") \ | 133 V(AsyncAwaitHelper, "_awaitHelper") \ |
| 134 V(AsyncStackTraceVar, ":async_stack_trace") \ |
125 V(Await, "await") \ | 135 V(Await, "await") \ |
126 V(AwaitTempVarPrefix, ":await_temp_var_") \ | 136 V(AwaitTempVarPrefix, ":await_temp_var_") \ |
127 V(AwaitContextVar, ":await_ctx_var") \ | 137 V(AwaitContextVar, ":await_ctx_var") \ |
128 V(AwaitJumpVar, ":await_jump_var") \ | 138 V(AwaitJumpVar, ":await_jump_var") \ |
129 V(Future, "Future") \ | 139 V(Future, "Future") \ |
130 V(FutureOr, "FutureOr") \ | 140 V(FutureOr, "FutureOr") \ |
131 V(FutureMicrotask, "Future.microtask") \ | 141 V(FutureMicrotask, "Future.microtask") \ |
132 V(FutureValue, "Future.value") \ | 142 V(FutureValue, "Future.value") \ |
133 V(FutureThen, "then") \ | 143 V(FutureThen, "then") \ |
| 144 V(_Awaiter, "_awaiter") \ |
134 V(FutureCatchError, "catchError") \ | 145 V(FutureCatchError, "catchError") \ |
135 V(Completer, "Completer") \ | 146 V(Completer, "Completer") \ |
136 V(CompleterComplete, "complete") \ | 147 V(CompleterComplete, "complete") \ |
| 148 V(CompleterCompleteOnAsyncReturn, "_completeOnAsyncReturn") \ |
137 V(CompleterCompleteError, "completeError") \ | 149 V(CompleterCompleteError, "completeError") \ |
138 V(CompleterSyncConstructor, "Completer.sync") \ | 150 V(CompleterSyncConstructor, "Completer.sync") \ |
139 V(CompleterFuture, "future") \ | 151 V(CompleterFuture, "future") \ |
| 152 V(SyncCompleter, "_SyncCompleter") \ |
140 V(StreamIterator, "StreamIterator") \ | 153 V(StreamIterator, "StreamIterator") \ |
141 V(StreamIteratorConstructor, "StreamIterator.") \ | 154 V(StreamIteratorConstructor, "StreamIterator.") \ |
142 V(Native, "native") \ | 155 V(Native, "native") \ |
143 V(Class, "Class") \ | 156 V(Class, "Class") \ |
144 V(Null, "Null") \ | 157 V(Null, "Null") \ |
145 V(Dynamic, "dynamic") \ | 158 V(Dynamic, "dynamic") \ |
146 V(UnresolvedClass, "UnresolvedClass") \ | 159 V(UnresolvedClass, "UnresolvedClass") \ |
147 V(Type, "_Type") \ | 160 V(Type, "_Type") \ |
148 V(TypeRef, "_TypeRef") \ | 161 V(TypeRef, "_TypeRef") \ |
149 V(TypeParameter, "_TypeParameter") \ | 162 V(TypeParameter, "_TypeParameter") \ |
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
683 friend class Serializer; | 696 friend class Serializer; |
684 friend class Deserializer; | 697 friend class Deserializer; |
685 friend class ApiMessageReader; | 698 friend class ApiMessageReader; |
686 | 699 |
687 DISALLOW_COPY_AND_ASSIGN(Symbols); | 700 DISALLOW_COPY_AND_ASSIGN(Symbols); |
688 }; | 701 }; |
689 | 702 |
690 } // namespace dart | 703 } // namespace dart |
691 | 704 |
692 #endif // RUNTIME_VM_SYMBOLS_H_ | 705 #endif // RUNTIME_VM_SYMBOLS_H_ |
OLD | NEW |