Index: pkg/analyzer/lib/src/task/html.dart |
diff --git a/pkg/analyzer/lib/src/task/html.dart b/pkg/analyzer/lib/src/task/html.dart |
index 91f5db7f86bd563ef4f92c0c470e76c8de8a6748..ab0b9b53b1f800d16e56ec5e2e1d82358f5fa85c 100644 |
--- a/pkg/analyzer/lib/src/task/html.dart |
+++ b/pkg/analyzer/lib/src/task/html.dart |
@@ -10,8 +10,8 @@ import 'package:analyzer/src/task/general.dart'; |
import 'package:analyzer/task/general.dart'; |
import 'package:analyzer/task/html.dart'; |
import 'package:analyzer/task/model.dart'; |
-import 'package:html/dom.dart'; |
-import 'package:html/parser.dart'; |
+//import 'package:html/dom.dart'; |
+//import 'package:html/parser.dart'; |
/** |
* A task that scans the content of a file, producing a set of Dart tokens. |
@@ -26,7 +26,8 @@ class ParseHtmlTask extends SourceBasedAnalysisTask { |
* The task descriptor describing this kind of task. |
*/ |
static final TaskDescriptor DESCRIPTOR = new TaskDescriptor('ParseHtmlTask', |
- createTask, buildInputs, <ResultDescriptor>[DOCUMENT, DOCUMENT_ERRORS]); |
+ createTask, buildInputs, |
+ <ResultDescriptor>[/*DOCUMENT, DOCUMENT_ERRORS*/]); |
/** |
* Initialize a newly created task to access the content of the source |
@@ -40,14 +41,14 @@ class ParseHtmlTask extends SourceBasedAnalysisTask { |
@override |
void internalPerform() { |
- String content = getRequiredInput(CONTENT_INPUT_NAME); |
- |
- HtmlParser parser = new HtmlParser(content); |
- Document document = parser.parse(); |
- List<ParseError> errors = parser.errors; |
- |
- outputs[DOCUMENT] = document; |
- outputs[DOCUMENT_ERRORS] = errors; |
+// String content = getRequiredInput(CONTENT_INPUT_NAME); |
+// |
+// HtmlParser parser = new HtmlParser(content); |
+// Document document = parser.parse(); |
+// List<ParseError> errors = parser.errors; |
+// |
+// outputs[DOCUMENT] = document; |
+// outputs[DOCUMENT_ERRORS] = errors; |
} |
/** |