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

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

Issue 2726793003: Remove package imports from itself. (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/parser.dart
diff --git a/pkg/front_end/lib/src/fasta/parser/parser.dart b/pkg/front_end/lib/src/fasta/parser/parser.dart
index 186f8965fcc3c851c5270e50e3673ea133960c0c..2f1324043a12434dd43ab23b850864d4ad762a0d 100644
--- a/pkg/front_end/lib/src/fasta/parser/parser.dart
+++ b/pkg/front_end/lib/src/fasta/parser/parser.dart
@@ -8,9 +8,9 @@ import '../scanner.dart' show ErrorToken;
import '../scanner/recover.dart' show closeBraceFor, skipToEof;
-import 'package:front_end/src/fasta/scanner/keyword.dart' show Keyword;
+import '../scanner/keyword.dart' show Keyword;
-import 'package:front_end/src/fasta/scanner/precedence.dart'
+import '../scanner/precedence.dart'
show
ASSIGNMENT_PRECEDENCE,
AS_INFO,
@@ -29,7 +29,7 @@ import 'package:front_end/src/fasta/scanner/precedence.dart'
QUESTION_PERIOD_INFO,
RELATIONAL_PRECEDENCE;
-import 'package:front_end/src/fasta/scanner/token.dart'
+import '../scanner/token.dart'
show
BeginGroupToken,
KeywordToken,
@@ -37,7 +37,7 @@ import 'package:front_end/src/fasta/scanner/token.dart'
Token,
isUserDefinableOperator;
-import 'package:front_end/src/fasta/scanner/token_constants.dart'
+import '../scanner/token_constants.dart'
show
COMMA_TOKEN,
DOUBLE_TOKEN,
@@ -61,10 +61,9 @@ import 'package:front_end/src/fasta/scanner/token_constants.dart'
STRING_INTERPOLATION_TOKEN,
STRING_TOKEN;
-import 'package:front_end/src/fasta/scanner/characters.dart'
- show $CLOSE_CURLY_BRACKET;
+import '../scanner/characters.dart' show $CLOSE_CURLY_BRACKET;
-import 'package:front_end/src/fasta/util/link.dart' show Link;
+import '../util/link.dart' show Link;
import 'listener.dart' show Listener;
@@ -347,7 +346,7 @@ class Parser {
token = token.next.next;
if (token.isIdentifier()) {
token = parseQualified(token, IdentifierContext.partName,
- IdentifierContext.partNameContinuation);
+ IdentifierContext.partNameContinuation);
} else {
token = parseLiteralStringOrRecoverExpression(token);
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/parser/main.dart ('k') | pkg/front_end/lib/src/fasta/parser/top_level_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698