// 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/error/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 HTML_DOCUMENT = new ResultDescriptor('HTML_DOCUMENT', null); /** * The analysis errors associated with a [Source] representing an HTML file. */ final ListResultDescriptor HTML_ERRORS = new ListResultDescriptor( 'HTML_ERRORS', AnalysisError.NO_ERRORS); /** * The sources of the Dart libraries referenced by an HTML file. */ final ListResultDescriptor REFERENCED_LIBRARIES = new ListResultDescriptor('REFERENCED_LIBRARIES', Source.EMPTY_LIST);