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

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: 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
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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 } 134 }
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, Enqueuer enqueuer) {} 138 void registerInstantiatedClass(ClassElement cls, Enqueuer enqueuer) {}
139 void registerStringInterpolation() {} 139 void registerStringInterpolation() {}
140 void registerCatchStatement() {} 140 void registerCatchStatement() {}
141 void registerThrow() {} 141 void registerThrow() {}
142 void registerLazyField() {} 142 void registerLazyField() {}
143 void registerTypeLiteral() {} 143 void registerTypeLiteral() {}
144 void registerTypeVariable() {}
ngeoffray 2013/03/11 10:24:06 TypeVariableUsedAsExpression ?
karlklose 2013/03/12 09:05:02 Renamed to registerTypeVariableExpression.
144 void registerStackTraceInCatch() {} 145 void registerStackTraceInCatch() {}
145 void registerIsCheck(DartType type, Enqueuer enqueuer) {} 146 void registerIsCheck(DartType type, Enqueuer enqueuer) {}
146 void registerAsCheck(DartType type) {} 147 void registerAsCheck(DartType type) {}
147 void registerThrowNoSuchMethod() {} 148 void registerThrowNoSuchMethod() {}
148 void registerThrowRuntimeError() {} 149 void registerThrowRuntimeError() {}
149 void registerAbstractClassInstantiation() {} 150 void registerAbstractClassInstantiation() {}
150 void registerFallThroughError() {} 151 void registerFallThroughError() {}
151 void registerSuperNoSuchMethod() {} 152 void registerSuperNoSuchMethod() {}
152 void registerConstantMap() {} 153 void registerConstantMap() {}
153 void registerRuntimeType() {} 154 void registerRuntimeType() {}
(...skipping 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after
1171 1172
1172 void close() {} 1173 void close() {}
1173 1174
1174 toString() => name; 1175 toString() => name;
1175 1176
1176 /// Convenience method for getting an [api.CompilerOutputProvider]. 1177 /// Convenience method for getting an [api.CompilerOutputProvider].
1177 static NullSink outputProvider(String name, String extension) { 1178 static NullSink outputProvider(String name, String extension) {
1178 return new NullSink('$name.$extension'); 1179 return new NullSink('$name.$extension');
1179 } 1180 }
1180 } 1181 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698