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

Unified Diff: pkg/compiler/lib/src/parser/element_listener.dart

Issue 2978073002: Add closeBraceTokenFor and use it instead of BeginToken. (Closed)
Patch Set: Created 3 years, 5 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/compiler/lib/src/parser/element_listener.dart
diff --git a/pkg/compiler/lib/src/parser/element_listener.dart b/pkg/compiler/lib/src/parser/element_listener.dart
index 0210d9388fc610b93d3679da90eae0465d374eb2..964d1dba7fb912c45d0e0e3afe7bdc8ad945fa67 100644
--- a/pkg/compiler/lib/src/parser/element_listener.dart
+++ b/pkg/compiler/lib/src/parser/element_listener.dart
@@ -35,8 +35,7 @@ import 'package:front_end/src/fasta/parser.dart'
show Listener, ParserError, optional;
import 'package:front_end/src/fasta/parser/identifier_context.dart'
show IdentifierContext;
-import 'package:front_end/src/scanner/token.dart'
- show BeginToken, KeywordToken, TokenType;
+import 'package:front_end/src/scanner/token.dart' show KeywordToken, TokenType;
import 'partial_elements.dart'
show
PartialClassElement,
@@ -486,7 +485,7 @@ class ElementListener extends Listener {
}
@override
- void handleParenthesizedExpression(BeginToken token) {
+ void handleParenthesizedExpression(Token token) {
Expression expression = popNode();
pushNode(new ParenthesizedExpression(expression, token));
}
« no previous file with comments | « pkg/analyzer/test/generated/parser_fasta_listener.dart ('k') | pkg/front_end/lib/src/fasta/kernel/body_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698