| Index: pkg/polymer/lib/src/build/common.dart
|
| diff --git a/pkg/polymer/lib/src/build/common.dart b/pkg/polymer/lib/src/build/common.dart
|
| index 2d89f192066c398f12241be594005bd237186719..77e8db7272199ed918a6b35dfce60ad6867b5bd6 100644
|
| --- a/pkg/polymer/lib/src/build/common.dart
|
| +++ b/pkg/polymer/lib/src/build/common.dart
|
| @@ -172,22 +172,6 @@ String _systemToAssetPath(String assetPath) {
|
| return path.posix.joinAll(path.split(assetPath));
|
| }
|
|
|
| -
|
| -/// Parse [code] using analyzer.
|
| -CompilationUnit parseCompilationUnit(String code) {
|
| - var errorListener = new _ErrorCollector();
|
| - var reader = new CharSequenceReader(code);
|
| - var scanner = new Scanner(null, reader, errorListener);
|
| - var token = scanner.tokenize();
|
| - var parser = new Parser(null, errorListener);
|
| - return parser.parseCompilationUnit(token);
|
| -}
|
| -
|
| -class _ErrorCollector extends AnalysisErrorListener {
|
| - final errors = <AnalysisError>[];
|
| - onError(error) => errors.add(error);
|
| -}
|
| -
|
| /// These names have meaning in SVG or MathML, so they aren't allowed as custom
|
| /// tags. See [isCustomTagName].
|
| const invalidTagNames = const {
|
|
|