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

Unified Diff: pkg/front_end/lib/src/fasta/parser/listener.dart

Issue 2693453004: Include class names in parser events. (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | pkg/front_end/lib/src/fasta/parser/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/parser/listener.dart
diff --git a/pkg/front_end/lib/src/fasta/parser/listener.dart b/pkg/front_end/lib/src/fasta/parser/listener.dart
index e14dcb3828f744b0154a6b54a9e9e08a6a6c324a..976f0955f6c4d30090b294bd58e6e776eb637744 100644
--- a/pkg/front_end/lib/src/fasta/parser/listener.dart
+++ b/pkg/front_end/lib/src/fasta/parser/listener.dart
@@ -67,7 +67,7 @@ class Listener {
logEvent("ClassBody");
}
- void beginClassDeclaration(Token token) {}
+ void beginClassDeclaration(Token beginToken, Token name) {}
void endClassDeclaration(int interfacesCount, Token beginToken,
Token extendsKeyword, Token implementsKeyword, Token endToken) {
@@ -236,10 +236,10 @@ class Listener {
logEvent("MixinApplication");
}
- void beginNamedMixinApplication(Token token) {}
+ void beginNamedMixinApplication(Token beginToken, Token name) {}
void endNamedMixinApplication(
- Token classKeyword, Token implementsKeyword, Token endToken) {
+ Token begin, Token implementsKeyword, Token endToken) {
logEvent("NamedMixinApplication");
}
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/parser/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698