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

Unified Diff: sdk/lib/_internal/compiler/implementation/scanner/parser_task.dart

Issue 694353007: Move dart2js from sdk/lib/_internal/compiler to pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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: sdk/lib/_internal/compiler/implementation/scanner/parser_task.dart
diff --git a/sdk/lib/_internal/compiler/implementation/scanner/parser_task.dart b/sdk/lib/_internal/compiler/implementation/scanner/parser_task.dart
deleted file mode 100644
index 0a9b8493e46898aaecf4db6fad817c4a9f678930..0000000000000000000000000000000000000000
--- a/sdk/lib/_internal/compiler/implementation/scanner/parser_task.dart
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// 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;
-
-class ParserTask extends CompilerTask {
- ParserTask(Compiler compiler) : super(compiler);
- String get name => 'Parser';
-
- Node parse(ElementX element) {
- return measure(() => element.parseNode(compiler));
- }
-
- Node parseCompilationUnit(Token token) {
- return measure(() {
- NodeListener listener = new NodeListener(compiler, null);
- Parser parser = new Parser(listener);
- parser.parseUnit(token);
- Node result = listener.popNode();
- assert(listener.nodes.isEmpty);
- return result;
- });
- }
-}

Powered by Google App Engine
This is Rietveld 408576698