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

Unified Diff: pkg/compiler/lib/src/js_backend/runtime_types.dart

Issue 2829683007: Extract DartTypeVisitor and subclasses from resolution_types. (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/js_backend/runtime_types.dart
diff --git a/pkg/compiler/lib/src/js_backend/runtime_types.dart b/pkg/compiler/lib/src/js_backend/runtime_types.dart
index a9cf0ba1cb6b664cdf264d4369b61a57d169700a..e6dd1f7a8c956e4a5d3fb376242f99998a002aa8 100644
--- a/pkg/compiler/lib/src/js_backend/runtime_types.dart
+++ b/pkg/compiler/lib/src/js_backend/runtime_types.dart
@@ -852,7 +852,7 @@ class _RuntimeTypesEncoder implements RuntimeTypesEncoder {
}
}
-class TypeRepresentationGenerator implements DartTypeVisitor {
+class TypeRepresentationGenerator implements ResolutionDartTypeVisitor {
final Namer namer;
OnVariableCallback onVariable;
ShouldEncodeTypedefCallback shouldEncodeTypedef;
@@ -1072,7 +1072,7 @@ class TypeCheckMapping implements TypeChecks {
}
}
-class ArgumentCollector extends DartTypeVisitor {
+class ArgumentCollector extends ResolutionDartTypeVisitor {
final Set<ClassElement> classes = new Set<ClassElement>();
collect(ResolutionDartType type, {bool isTypeArgument: false}) {
@@ -1101,7 +1101,7 @@ class ArgumentCollector extends DartTypeVisitor {
}
}
-class FunctionArgumentCollector extends DartTypeVisitor {
+class FunctionArgumentCollector extends ResolutionDartTypeVisitor {
final Set<ClassElement> classes = new Set<ClassElement>();
FunctionArgumentCollector();
« no previous file with comments | « pkg/compiler/lib/src/js_backend/namer.dart ('k') | pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698