| Index: pkg/analyzer/lib/task/html.dart
|
| diff --git a/pkg/analyzer/lib/task/html.dart b/pkg/analyzer/lib/task/html.dart
|
| index f03e0f9d56369e2bdbf0f9aa8af6a5d43ec160c0..f63d72eba0037f3cf6a59a4172f94d10c7640304 100644
|
| --- a/pkg/analyzer/lib/task/html.dart
|
| +++ b/pkg/analyzer/lib/task/html.dart
|
| @@ -4,18 +4,26 @@
|
|
|
| library analyzer.task.html;
|
|
|
| -//import 'package:analyzer/task/model.dart';
|
| -//import 'package:html/dom.dart';
|
| -//import 'package:html/parser.dart';
|
| +import 'package:analyzer/src/generated/error.dart';
|
| +import 'package:analyzer/src/generated/source.dart';
|
| +import 'package:analyzer/task/model.dart';
|
| +import 'package:html/dom.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 ListResultDescriptor<ParseError> DOCUMENT_ERRORS =
|
| -// new ListResultDescriptor<ParseError>('DOCUMENT_ERRORS', <ParseError>[]);
|
| +/**
|
| + * The result of parsing an HTML file.
|
| + */
|
| +final ResultDescriptor<Document> DOCUMENT =
|
| + new ResultDescriptor<Document>('DOCUMENT', null);
|
| +
|
| +/**
|
| + * The analysis errors associated with a [Source] representing an HTML file.
|
| + */
|
| +final ListResultDescriptor<AnalysisError> HTML_ERRORS =
|
| + new ListResultDescriptor<AnalysisError>(
|
| + 'HTML_ERRORS', AnalysisError.NO_ERRORS);
|
| +
|
| +/**
|
| + * The sources of the Dart libraries referenced by an HTML file.
|
| + */
|
| +final ListResultDescriptor<Source> REFERENCED_LIBRARIES =
|
| + new ListResultDescriptor<Source>('REFERENCED_LIBRARIES', Source.EMPTY_LIST);
|
|
|