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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 12598003: Support type variables as expressions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update illegal_invocation_test and status. Created 7 years, 9 months 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/js_backend/backend.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 part of dart2js; 5 part of dart2js;
6 6
7 /** 7 /**
8 * If true, print a warning for each method that was resolved, but not 8 * If true, print a warning for each method that was resolved, but not
9 * compiled. 9 * compiled.
10 */ 10 */
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 135
136 // The following methods are hooks for the backend to register its 136 // The following methods are hooks for the backend to register its
137 // helper methods. 137 // helper methods.
138 void registerInstantiatedClass(ClassElement cls, 138 void registerInstantiatedClass(ClassElement cls,
139 Enqueuer enqueuer, 139 Enqueuer enqueuer,
140 TreeElements elements) {} 140 TreeElements elements) {}
141 void registerStringInterpolation(TreeElements elements) {} 141 void registerStringInterpolation(TreeElements elements) {}
142 void registerCatchStatement(TreeElements elements) {} 142 void registerCatchStatement(TreeElements elements) {}
143 void registerThrow(TreeElements elements) {} 143 void registerThrow(TreeElements elements) {}
144 void registerLazyField(TreeElements elements) {} 144 void registerLazyField(TreeElements elements) {}
145 void registerTypeVariableExpression(TreeElements elements) {}
145 void registerTypeLiteral(TreeElements elements) {} 146 void registerTypeLiteral(TreeElements elements) {}
146 void registerStackTraceInCatch(TreeElements elements) {} 147 void registerStackTraceInCatch(TreeElements elements) {}
147 void registerIsCheck(DartType type, 148 void registerIsCheck(DartType type,
148 Enqueuer enqueuer, 149 Enqueuer enqueuer,
149 TreeElements elements) {} 150 TreeElements elements) {}
150 void registerAsCheck(DartType type, TreeElements elements) {} 151 void registerAsCheck(DartType type, TreeElements elements) {}
151 void registerThrowNoSuchMethod(TreeElements elements) {} 152 void registerThrowNoSuchMethod(TreeElements elements) {}
152 void registerThrowRuntimeError(TreeElements elements) {} 153 void registerThrowRuntimeError(TreeElements elements) {}
153 void registerAbstractClassInstantiation(TreeElements elements) {} 154 void registerAbstractClassInstantiation(TreeElements elements) {}
154 void registerFallThroughError(TreeElements elements) {} 155 void registerFallThroughError(TreeElements elements) {}
(...skipping 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after
1218 1219
1219 void close() {} 1220 void close() {}
1220 1221
1221 toString() => name; 1222 toString() => name;
1222 1223
1223 /// Convenience method for getting an [api.CompilerOutputProvider]. 1224 /// Convenience method for getting an [api.CompilerOutputProvider].
1224 static NullSink outputProvider(String name, String extension) { 1225 static NullSink outputProvider(String name, String extension) {
1225 return new NullSink('$name.$extension'); 1226 return new NullSink('$name.$extension');
1226 } 1227 }
1227 } 1228 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/js_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698