Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(525)

Side by Side Diff: pkg/analyzer/lib/task/html.dart

Issue 1185443002: Support for parsing HTML in the new task model (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 library analyzer.task.html;
6
7 import 'package:analyzer/task/model.dart';
8 import 'package:html/dom.dart';
9 import 'package:html/parser.dart';
10
11 /**
12 * The result of parsing an HTML file.
13 */
14 final ResultDescriptor<Document> DOCUMENT =
15 new ResultDescriptor<Document>('DOCUMENT', null);
16
17 /**
18 * The errors found while parsing an HTML file.
19 */
20 final ResultDescriptor<List<ParseError>> DOCUMENT_ERRORS =
scheglov 2015/06/11 20:17:30 ListResultDescriptor?
Brian Wilkerson 2015/06/11 20:23:29 Done
21 new ResultDescriptor<List<ParseError>>('DOCUMENT_ERRORS', null);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698