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

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

Issue 2705333002: Pass 'classKeyword' to endClassDeclaratio() and endNamedMixinApplication(). (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
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 7407d212671373c341b19f7f82e3b142f0dcc3f5..5a400b94e4a5d7804b90b70da31aa87dd313f445 100644
--- a/pkg/front_end/lib/src/fasta/parser/listener.dart
+++ b/pkg/front_end/lib/src/fasta/parser/listener.dart
@@ -76,7 +76,8 @@ class Listener {
/// - implemented types
/// - class body
void endClassDeclaration(int interfacesCount, Token beginToken,
- Token extendsKeyword, Token implementsKeyword, Token endToken) {
+ Token classKeyword, Token extendsKeyword, Token implementsKeyword,
+ Token endToken) {
logEvent("ClassDeclaration");
}
@@ -267,7 +268,8 @@ class Listener {
/// declaration, each implemented type is listed separately on the stack, and
/// the number of implemented types is passed as a parameter.
void endNamedMixinApplication(
- Token begin, Token equals, Token implementsKeyword, Token endToken) {
+ Token begin, Token classKeyword, Token equals, Token implementsKeyword,
+ Token endToken) {
logEvent("NamedMixinApplication");
}

Powered by Google App Engine
This is Rietveld 408576698