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

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

Issue 2996163002: support class native clause (Closed)
Patch Set: add new fasta native clause error code Created 3 years, 4 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 cf593707ba667256f50549309facba3f41fc13df..3adc02b09faf1bddfb8791fa97868a6d06becd03 100644
--- a/pkg/front_end/lib/src/fasta/parser/listener.dart
+++ b/pkg/front_end/lib/src/fasta/parser/listener.dart
@@ -95,6 +95,7 @@ class Listener {
/// - type variables
/// - supertype (may be a mixin application)
/// - implemented types
+ /// - native clause
/// - class body
void endClassDeclaration(
int interfacesCount,
@@ -102,6 +103,7 @@ class Listener {
Token classKeyword,
Token extendsKeyword,
Token implementsKeyword,
+ Token nativeToken,
Token endToken) {
logEvent("ClassDeclaration");
}

Powered by Google App Engine
This is Rietveld 408576698