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

Unified Diff: pkg/compiler/lib/src/scanner/class_element_parser.dart

Issue 1315483006: Split scannerlib.dart into several libraries. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Update try tests Created 5 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/compiler/lib/src/scanner/class_element_parser.dart
diff --git a/pkg/compiler/lib/src/scanner/class_element_parser.dart b/pkg/compiler/lib/src/scanner/class_element_parser.dart
index 627b0add7e9bb1971aa9da411a31019f1a8d18da..e1669befaf0ed70818655591edacbee73206e052 100644
--- a/pkg/compiler/lib/src/scanner/class_element_parser.dart
+++ b/pkg/compiler/lib/src/scanner/class_element_parser.dart
@@ -2,7 +2,49 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-part of scanner;
+library dart2js.parser.classes;
+
+import '../compiler.dart' show
+ Compiler;
+import '../diagnostics/diagnostic_listener.dart' show
+ DiagnosticListener;
+import '../diagnostics/messages.dart' show
+ MessageKind;
+import '../diagnostics/invariant.dart' show
+ invariant;
+import '../elements/elements.dart' show
+ CompilationUnitElement,
+ Element,
+ ElementKind,
+ Elements,
+ MetadataAnnotation,
+ STATE_NOT_STARTED,
+ STATE_DONE;
+import '../elements/modelx.dart' show
+ ClassElementX,
+ ElementX,
+ FieldElementX,
+ VariableList;
+import '../elements/visitor.dart' show
+ ElementVisitor;
+import '../tree/tree.dart';
+import '../util/util.dart' show
+ Link;
+
+import 'listener.dart' show
+ Listener,
+ NodeListener,
+ ParserError,
+ PartialConstructorElement,
+ PartialElement,
+ PartialFunctionElement,
+ PartialMetadataAnnotation;
+import 'parser.dart' show
+ Parser;
+import 'partial_parser.dart' show
+ PartialParser;
+import 'token.dart' show
+ Token;
class ClassElementParser extends PartialParser {
ClassElementParser(Listener listener) : super(listener);
« no previous file with comments | « pkg/compiler/lib/src/scanner/array_based_scanner.dart ('k') | pkg/compiler/lib/src/scanner/diet_parser_task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698