Chromium Code Reviews| Index: pkg/analyzer/lib/task/html.dart |
| diff --git a/pkg/analyzer/lib/task/html.dart b/pkg/analyzer/lib/task/html.dart |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d7642a22d29cf6c9ce5b2afc8439214d0bf904f6 |
| --- /dev/null |
| +++ b/pkg/analyzer/lib/task/html.dart |
| @@ -0,0 +1,21 @@ |
| +// Copyright (c) 2015, 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. |
| + |
| +library analyzer.task.html; |
| + |
| +import 'package:analyzer/task/model.dart'; |
| +import 'package:html/dom.dart'; |
| +import 'package:html/parser.dart'; |
| + |
| +/** |
| + * The result of parsing an HTML file. |
| + */ |
| +final ResultDescriptor<Document> DOCUMENT = |
| + new ResultDescriptor<Document>('DOCUMENT', null); |
| + |
| +/** |
| + * The errors found while parsing an HTML file. |
| + */ |
| +final ResultDescriptor<List<ParseError>> DOCUMENT_ERRORS = |
|
scheglov
2015/06/11 20:17:30
ListResultDescriptor?
Brian Wilkerson
2015/06/11 20:23:29
Done
|
| + new ResultDescriptor<List<ParseError>>('DOCUMENT_ERRORS', null); |