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

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

Issue 2671013002: Add handleMemberName event to allow parsing Dart VM natives. (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 8b159c5a1c638082e71957f0558f242766bddcc7..757fa946ac676f96e57c2188ee2accfb10fcc5fe 100644
--- a/pkg/front_end/lib/src/fasta/parser/listener.dart
+++ b/pkg/front_end/lib/src/fasta/parser/listener.dart
@@ -4,10 +4,13 @@
library fasta.parser.listener;
-import 'package:front_end/src/fasta/scanner/token.dart' show
+import '../scanner/token.dart' show
BeginGroupToken,
Token;
+import '../util/link.dart' show
+ Link;
+
import 'error_kind.dart' show
ErrorKind;
@@ -403,6 +406,8 @@ class Listener {
logEvent("Member");
}
+ Link<Token> handleMemberName(Link<Token> identifiers) => identifiers;
Siggi Cherem (dart-lang) 2017/02/03 17:15:51 consider a short dartdoc to indicate that most lis
+
/// Doesn't have a corresponding begin event, use [beginMember] instead.
void endMethod(Token getOrSet, Token beginToken, Token endToken) {
logEvent("Method");
« 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