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

Unified Diff: pkg/front_end/lib/src/fasta/type_inference/type_inference_listener.dart

Issue 2961693002: Add listener calls to ThisExpression and KernelTypeLiteral. (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/type_inference/type_inference_listener.dart
diff --git a/pkg/front_end/lib/src/fasta/type_inference/type_inference_listener.dart b/pkg/front_end/lib/src/fasta/type_inference/type_inference_listener.dart
index c8b3f3588f7f6ca56d900c835350a46c6aac5448..87254a12bd673b3251534c51b0fa26732297da7f 100644
--- a/pkg/front_end/lib/src/fasta/type_inference/type_inference_listener.dart
+++ b/pkg/front_end/lib/src/fasta/type_inference/type_inference_listener.dart
@@ -340,6 +340,12 @@ class TypeInferenceListener
void switchStatementExit(SwitchStatement statement) =>
debugStatementExit('switchStatement', statement);
+ bool thisExpressionEnter(ThisExpression expression, DartType typeContext) =>
+ debugExpressionEnter("thisExpression", expression, typeContext);
+
+ void thisExpressionExit(ThisExpression expression, DartType inferredType) =>
+ debugExpressionExit("thisExpression", expression, inferredType);
+
bool throwEnter(Throw expression, DartType typeContext) =>
debugExpressionEnter('throw', expression, typeContext);
@@ -358,6 +364,12 @@ class TypeInferenceListener
void tryFinallyExit(TryFinally statement) =>
debugStatementExit('tryFinally', statement);
+ bool typeLiteralEnter(TypeLiteral expression, DartType typeContext) =>
+ debugExpressionEnter("typeLiteral", expression, typeContext);
+
+ void typeLiteralExit(TypeLiteral expression, DartType inferredType) =>
+ debugExpressionExit("typeLiteral", expression, inferredType);
+
bool variableAssignEnter(Expression expression, DartType typeContext) =>
debugExpressionEnter("variableAssign", expression, typeContext);
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698