Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: pkg/fletchc/lib/src/enqueuer_mixin.dart

Issue 1450393002: Roll sdk dependency to 34357cdad108dcba734949bd13bd28c76ea285e0 (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Update status files Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Fletch 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.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 // TODO(ahe): Get rid of this file. Perhaps by having [FletchEnqueuer] extend 5 // TODO(ahe): Get rid of this file. Perhaps by having [FletchEnqueuer] extend
6 // [CodegenEnqueuer]. 6 // [CodegenEnqueuer].
7 part of fletchc.fletch_enqueuer; 7 part of fletchc.fletch_enqueuer;
8 8
9 get notImplemented => throw "not implemented"; 9 get notImplemented => throw "not implemented";
10 10
11 class EnqueuerMixin { 11 class EnqueuerMixin implements CodegenEnqueuer {
12 @override
12 String get name => notImplemented; 13 String get name => notImplemented;
13 14
15 @override
14 Compiler get compiler => notImplemented; 16 Compiler get compiler => notImplemented;
15 17
18 @override
16 ItemCompilationContextCreator get itemCompilationContextCreator 19 ItemCompilationContextCreator get itemCompilationContextCreator
17 => notImplemented; 20 => notImplemented;
18 21
22 @override
19 Map<String, Set<Element>> get instanceMembersByName => notImplemented; 23 Map<String, Set<Element>> get instanceMembersByName => notImplemented;
20 24
25 @override
21 Map<String, Set<Element>> get instanceFunctionsByName => notImplemented; 26 Map<String, Set<Element>> get instanceFunctionsByName => notImplemented;
22 27
28 @override
23 Set<ClassElement> get recentClasses => notImplemented; 29 Set<ClassElement> get recentClasses => notImplemented;
30
31 @override
24 set recentClasses(Set<ClassElement> value) => notImplemented; 32 set recentClasses(Set<ClassElement> value) => notImplemented;
25 33
34 @override
26 Universe get universe => notImplemented; 35 Universe get universe => notImplemented;
27 36
37 @override
28 bool get queueIsClosed => notImplemented; 38 bool get queueIsClosed => notImplemented;
39
40 @override
29 set queueIsClosed(bool value) => notImplemented; 41 set queueIsClosed(bool value) => notImplemented;
30 42
43 @override
31 EnqueueTask get task => notImplemented; 44 EnqueueTask get task => notImplemented;
45
46 @override
32 set task(EnqueueTask value) => notImplemented; 47 set task(EnqueueTask value) => notImplemented;
33 48
49 @override
34 get nativeEnqueuer => notImplemented; 50 get nativeEnqueuer => notImplemented;
51
52 @override
35 set nativeEnqueuer(value) => notImplemented; 53 set nativeEnqueuer(value) => notImplemented;
36 54
55 @override
37 bool get hasEnqueuedReflectiveElements => notImplemented; 56 bool get hasEnqueuedReflectiveElements => notImplemented;
57
58 @override
38 set hasEnqueuedReflectiveElements(bool value) => notImplemented; 59 set hasEnqueuedReflectiveElements(bool value) => notImplemented;
39 60
61 @override
40 bool get hasEnqueuedReflectiveStaticFields => notImplemented; 62 bool get hasEnqueuedReflectiveStaticFields => notImplemented;
63
64 @override
41 set hasEnqueuedReflectiveStaticFields(bool value) => notImplemented; 65 set hasEnqueuedReflectiveStaticFields(bool value) => notImplemented;
42 66
67 @override
43 bool get queueIsEmpty => notImplemented; 68 bool get queueIsEmpty => notImplemented;
44 69
70 @override
45 bool get isResolutionQueue => notImplemented; 71 bool get isResolutionQueue => notImplemented;
46 72
73 @override
47 QueueFilter get filter => notImplemented; 74 QueueFilter get filter => notImplemented;
48 75
76 @override
49 Queue get queue => notImplemented; 77 Queue get queue => notImplemented;
50 78
79 @override
51 get generatedCode => notImplemented; 80 get generatedCode => notImplemented;
52 81
82 @override
53 Set<Element> get newlyEnqueuedElements => notImplemented; 83 Set<Element> get newlyEnqueuedElements => notImplemented;
54 84
55 Set<UniverseSelector> get newlySeenSelectors => notImplemented; 85 @override
56 86 Set<DynamicUse> get newlySeenSelectors => notImplemented;
87
88 @override
57 bool get enabledNoSuchMethod => notImplemented; 89 bool get enabledNoSuchMethod => notImplemented;
90
91 @override
58 set enabledNoSuchMethod(bool value) => notImplemented; 92 set enabledNoSuchMethod(bool value) => notImplemented;
59 93
94 @override
60 bool isProcessed(Element member) => notImplemented; 95 bool isProcessed(Element member) => notImplemented;
61 96
97 @override
62 void addToWorkList(Element element) => notImplemented; 98 void addToWorkList(Element element) => notImplemented;
63 99
100 @override
64 bool internalAddToWorkList(Element element) => notImplemented; 101 bool internalAddToWorkList(Element element) => notImplemented;
65 102
103 @override
66 void applyImpact(Element element, WorldImpact worldImpact) => notImplemented; 104 void applyImpact(Element element, WorldImpact worldImpact) => notImplemented;
67 105
106 @override
68 void registerInstantiatedType( 107 void registerInstantiatedType(
69 InterfaceType type, 108 InterfaceType type,
70 Registry registry,
71 {bool mirrorUsage: false}) => notImplemented; 109 {bool mirrorUsage: false}) => notImplemented;
72 110
111 @override
73 bool checkNoEnqueuedInvokedInstanceMethods() => notImplemented; 112 bool checkNoEnqueuedInvokedInstanceMethods() => notImplemented;
74 113
114 @override
75 void processInstantiatedClassMembers(ClassElement cls) => notImplemented; 115 void processInstantiatedClassMembers(ClassElement cls) => notImplemented;
76 116
117 @override
77 void processInstantiatedClassMember( 118 void processInstantiatedClassMember(
78 ClassElement cls, 119 ClassElement cls,
79 Element member) => notImplemented; 120 Element member) => notImplemented;
80 121
122 @override
81 void registerNoSuchMethod(Element noSuchMethod) => notImplemented; 123 void registerNoSuchMethod(Element noSuchMethod) => notImplemented;
82 124
125 @override
83 void enableIsolateSupport() => notImplemented; 126 void enableIsolateSupport() => notImplemented;
84 127
128 @override
85 void processInstantiatedClass(ClassElement cls) => notImplemented; 129 void processInstantiatedClass(ClassElement cls) => notImplemented;
86 130
87 void registerInvocation(UniverseSelector selector) => notImplemented; 131 @override
88 132 void registerInvocation(DynamicUse use) => notImplemented;
89 void registerInvokedGetter(UniverseSelector selector) => notImplemented; 133
90 134 @override
91 void registerInvokedSetter(UniverseSelector selector) => notImplemented; 135 void registerInvokedGetter(DynamicUse use) => notImplemented;
92 136
137 @override
138 void registerInvokedSetter(DynamicUse use) => notImplemented;
139
140 @override
93 bool shouldIncludeElementDueToMirrors( 141 bool shouldIncludeElementDueToMirrors(
94 Element element, 142 Element element,
95 {bool includedEnclosing}) => notImplemented; 143 {bool includedEnclosing}) => notImplemented;
96 144
145 @override
97 void logEnqueueReflectiveAction(action, [msg = ""]) => notImplemented; 146 void logEnqueueReflectiveAction(action, [msg = ""]) => notImplemented;
98 147
148 @override
99 void enqueueReflectiveConstructor( 149 void enqueueReflectiveConstructor(
100 ConstructorElement ctor, 150 ConstructorElement ctor,
101 bool enclosingWasIncluded) => notImplemented; 151 bool enclosingWasIncluded) => notImplemented;
102 152
153 @override
103 void enqueueReflectiveMember( 154 void enqueueReflectiveMember(
104 Element element, 155 Element element,
105 bool enclosingWasIncluded) => notImplemented; 156 bool enclosingWasIncluded) => notImplemented;
106 157
158 @override
107 void enqueueReflectiveElementsInClass( 159 void enqueueReflectiveElementsInClass(
108 ClassElement cls, 160 ClassElement cls,
109 Iterable<ClassElement> recents, 161 Iterable<ClassElement> recents,
110 bool enclosingWasIncluded) => notImplemented; 162 bool enclosingWasIncluded) => notImplemented;
111 163
164 @override
112 void enqueueReflectiveSpecialClasses() => notImplemented; 165 void enqueueReflectiveSpecialClasses() => notImplemented;
113 166
167 @override
114 void enqueueReflectiveElementsInLibrary( 168 void enqueueReflectiveElementsInLibrary(
115 LibraryElement lib, 169 LibraryElement lib,
116 Iterable<ClassElement> recents) => notImplemented; 170 Iterable<ClassElement> recents) => notImplemented;
117 171
172 @override
118 void enqueueReflectiveElements( 173 void enqueueReflectiveElements(
119 Iterable<ClassElement> recents) => notImplemented; 174 Iterable<ClassElement> recents) => notImplemented;
120 175
176 @override
121 void enqueueReflectiveStaticFields( 177 void enqueueReflectiveStaticFields(
122 Iterable<Element> elements) => notImplemented; 178 Iterable<Element> elements) => notImplemented;
123 179
180 @override
124 void processSet( 181 void processSet(
125 Map<String, Set<Element>> map, 182 Map<String, Set<Element>> map,
126 String memberName, 183 String memberName,
127 bool f(Element e)) => notImplemented; 184 bool f(Element e)) => notImplemented;
128 185
186 @override
129 processInstanceMembers(String n, bool f(Element e)) => notImplemented; 187 processInstanceMembers(String n, bool f(Element e)) => notImplemented;
130 188
189 @override
131 processInstanceFunctions(String n, bool f(Element e)) => notImplemented; 190 processInstanceFunctions(String n, bool f(Element e)) => notImplemented;
132 191
192 @override
133 void handleUnseenSelector( 193 void handleUnseenSelector(
134 UniverseSelector universeSelector) => notImplemented; 194 DynamicUse use) => notImplemented;
135 195
136 void registerStaticUse(Element element) => notImplemented; 196 @override
137 197 void registerStaticUse(StaticUse element) => notImplemented;
198
199 @override
138 void registerGetOfStaticFunction(FunctionElement element) => notImplemented; 200 void registerGetOfStaticFunction(FunctionElement element) => notImplemented;
139 201
140 void registerDynamicInvocation(UniverseSelector selector) => notImplemented; 202 @override
141 203 void registerDynamicInvocation(DynamicUse use) => notImplemented;
142 void registerSelectorUse(UniverseSelector universeSelector) => notImplemented; 204
143 205 @override
144 void registerDynamicGetter(UniverseSelector selector) => notImplemented; 206 void registerSelectorUse(DynamicUse use) => notImplemented;
145 207
146 void registerDynamicSetter(UniverseSelector selector) => notImplemented; 208 @override
147 209 void registerDynamicGetter(DynamicUse use) => notImplemented;
210
211 @override
212 void registerDynamicSetter(DynamicUse use) => notImplemented;
213
214 @override
148 void registerGetterForSuperMethod(Element element) => notImplemented; 215 void registerGetterForSuperMethod(Element element) => notImplemented;
149 216
217 @override
150 void registerFieldGetter(Element element) => notImplemented; 218 void registerFieldGetter(Element element) => notImplemented;
151 219
220 @override
152 void registerFieldSetter(Element element) => notImplemented; 221 void registerFieldSetter(Element element) => notImplemented;
153 222
223 @override
154 void registerIsCheck(DartType type) => notImplemented; 224 void registerIsCheck(DartType type) => notImplemented;
155 225
226 @override
156 void registerCallMethodWithFreeTypeVariables( 227 void registerCallMethodWithFreeTypeVariables(
157 Element element, 228 Element element) => notImplemented;
158 Registry registry) => notImplemented; 229
159 230 @override
160 void registerClosurizedMember( 231 void registerClosurizedMember(
161 TypedElement element, 232 TypedElement element) => notImplemented;
162 Registry registry) => notImplemented; 233
163 234 @override
164 void registerClosureIfFreeTypeVariables( 235 void registerClosureIfFreeTypeVariables(
165 TypedElement element, 236 TypedElement element) => notImplemented;
166 Registry registry) => notImplemented; 237
167 238 @override
168 void registerClosure( 239 void registerClosure(
169 LocalFunctionElement element, 240 LocalFunctionElement element) => notImplemented;
170 Registry registry) => notImplemented; 241
171 242 @override
172 void forEach(void f(WorkItem work)) => notImplemented; 243 void forEach(void f(WorkItem work)) => notImplemented;
173 244
245 @override
174 bool onQueueEmpty(Iterable<ClassElement> recentClasses) => notImplemented; 246 bool onQueueEmpty(Iterable<ClassElement> recentClasses) => notImplemented;
175 247
248 @override
176 void logSummary(log(message)) => notImplemented; 249 void logSummary(log(message)) => notImplemented;
177 250
251 @override
178 void forgetElement(Element element) => notImplemented; 252 void forgetElement(Element element) => notImplemented;
253
254 @override
255 void handleUnseenSelectorInternal(DynamicUse dynamicUse) => notImplemented;
256
257 @override
258 bool isClassProcessed(ClassElement cls) => notImplemented;
259
260 @override
261 Iterable<ClassElement> get processedClasses => notImplemented;
262
263 @override
264 void registerDynamicUse(DynamicUse dynamicUse) => notImplemented;
265
266 @override
267 void registerStaticUseInternal(StaticUse staticUse) => notImplemented;
268
269 @override
270 void registerTypeUse(TypeUse typeUse) => notImplemented;
271
272 @override
273 DiagnosticReporter get reporter => notImplemented;
274
275 @override
276 Resolution get resolution => notImplemented;
277
278 @override
279 EnqueuerStrategy get strategy => notImplemented;
179 } 280 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698