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

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

Issue 1313073007: Move parser and token related libraries into their own subfolder. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix unittests and try Created 5 years, 3 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 | « pkg/compiler/lib/src/parser/diet_parser_task.dart ('k') | pkg/compiler/lib/src/parser/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/parser/listener.dart
diff --git a/pkg/compiler/lib/src/scanner/listener.dart b/pkg/compiler/lib/src/parser/listener.dart
similarity index 99%
rename from pkg/compiler/lib/src/scanner/listener.dart
rename to pkg/compiler/lib/src/parser/listener.dart
index c582b16d6f50de15010f6807c16c4b4106c14839..145264193a261e5d5027e7b42d86fad0e4548b78 100644
--- a/pkg/compiler/lib/src/scanner/listener.dart
+++ b/pkg/compiler/lib/src/parser/listener.dart
@@ -43,17 +43,9 @@ import '../elements/modelx.dart' show
import '../native/native.dart' as native;
import '../string_validator.dart' show
StringValidator;
-import '../tree/tree.dart';
-import '../util/util.dart' show
- Link;
-
-import 'class_element_parser.dart' show
- PartialClassElement;
-import 'keyword.dart' show
+import '../tokens/keyword.dart' show
Keyword;
-import 'parser.dart' show
- Parser;
-import 'token.dart' show
+import '../tokens/token.dart' show
BAD_INPUT_INFO,
BadInputToken,
BeginGroupToken,
@@ -67,6 +59,14 @@ import 'token.dart' show
Token,
UnmatchedToken,
UnterminatedToken;
+import '../tree/tree.dart';
+import '../util/util.dart' show
+ Link;
+
+import 'class_element_parser.dart' show
+ PartialClassElement;
+import 'parser.dart' show
+ Parser;
const bool VERBOSE = false;
« no previous file with comments | « pkg/compiler/lib/src/parser/diet_parser_task.dart ('k') | pkg/compiler/lib/src/parser/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698