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

Unified Diff: pkg/analyzer/lib/src/summary/fasta/summary_builder.dart

Issue 2767543003: Add begin events for const and new expressions. (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/fasta/ast_builder.dart ('k') | pkg/compiler/lib/src/parser/node_listener.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/summary/fasta/summary_builder.dart
diff --git a/pkg/analyzer/lib/src/summary/fasta/summary_builder.dart b/pkg/analyzer/lib/src/summary/fasta/summary_builder.dart
index beb54b4aff374fe5963e910d05e1a6e4a5b03169..caea779267f0c23ec26731852cdb37ce16368694 100644
--- a/pkg/analyzer/lib/src/summary/fasta/summary_builder.dart
+++ b/pkg/analyzer/lib/src/summary/fasta/summary_builder.dart
@@ -136,7 +136,7 @@ class ConstExpressionBuilder extends ExpressionListener {
push(new NamedArg(name.name, value));
}
- void handleNewExpression(Token token) {
+ void endNewExpression(Token token) {
debugEvent("NewExpression");
if (ignore) return;
pop(); // args
@@ -405,7 +405,8 @@ abstract class ExpressionListener extends StackListener {
push(new Conditional(cond, trueBranch, falseBranch));
}
- void handleConstExpression(Token token) {
+ @override
+ void endConstExpression(Token token) {
debugEvent("ConstExpression");
if (ignore) return;
List args = pop();
@@ -666,7 +667,7 @@ class InitializerBuilder extends ExpressionListener {
push(NullValue.Arguments);
}
- void handleNewExpression(Token token) {
+ void endNewExpression(Token token) {
debugEvent("NewExpression");
if (ignore) return;
pop(); // args
« no previous file with comments | « pkg/analyzer/lib/src/fasta/ast_builder.dart ('k') | pkg/compiler/lib/src/parser/node_listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698