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; |
-} |