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

Unified Diff: pkg/dart_parser/lib/parser.dart

Issue 2627723006: Update parser so tests pass. (Closed)
Patch Set: Created 3 years, 11 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/dart_parser/lib/dart_parser.dart ('k') | pkg/dart_parser/lib/src/class_member_parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dart_parser/lib/parser.dart
diff --git a/pkg/dart_parser/lib/parser.dart b/pkg/dart_parser/lib/parser.dart
deleted file mode 100644
index 0120fe2d4d60de35b6963f835c84bc6873768555..0000000000000000000000000000000000000000
--- a/pkg/dart_parser/lib/parser.dart
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2016, 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.md file.
-
-library parser;
-
-import 'package:scanner/src/token.dart' show
- Token;
-
-import 'src/listener.dart' show
- Listener;
-
-import 'src/parser.dart' show
- Parser;
-
-import 'src/listener.dart' show
- ParserError;
-
-export 'src/listener.dart' show
- ParserError;
-
-List<ParserError> parse(Token tokens, {bool enableGenericMethodSyntax: false}) {
- Listener listener = new Listener();
- Parser parser = new Parser(listener,
- enableGenericMethodSyntax: enableGenericMethodSyntax);
- parser.parseUnit(tokens);
- return listener.recoverableErrors;
-}
« no previous file with comments | « pkg/dart_parser/lib/dart_parser.dart ('k') | pkg/dart_parser/lib/src/class_member_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698