OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library analyzer.task.html; | 5 library analyzer.task.html; |
6 | 6 |
7 import 'package:analyzer/task/model.dart'; | 7 //import 'package:analyzer/task/model.dart'; |
8 import 'package:html/dom.dart'; | 8 //import 'package:html/dom.dart'; |
9 import 'package:html/parser.dart'; | 9 //import 'package:html/parser.dart'; |
10 | 10 |
11 /** | 11 ///** |
12 * The result of parsing an HTML file. | 12 // * The result of parsing an HTML file. |
13 */ | 13 // */ |
14 final ResultDescriptor<Document> DOCUMENT = | 14 //final ResultDescriptor<Document> DOCUMENT = |
15 new ResultDescriptor<Document>('DOCUMENT', null); | 15 // new ResultDescriptor<Document>('DOCUMENT', null); |
16 | 16 // |
17 /** | 17 ///** |
18 * The errors found while parsing an HTML file. | 18 // * The errors found while parsing an HTML file. |
19 */ | 19 // */ |
20 final ListResultDescriptor<ParseError> DOCUMENT_ERRORS = | 20 //final ListResultDescriptor<ParseError> DOCUMENT_ERRORS = |
21 new ListResultDescriptor<ParseError>('DOCUMENT_ERRORS', <ParseError>[]); | 21 // new ListResultDescriptor<ParseError>('DOCUMENT_ERRORS', <ParseError>[]); |
OLD | NEW |