| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2016, 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.yaml; |
| 6 |
| 7 import 'package:analyzer/error/error.dart'; |
| 8 import 'package:analyzer/src/generated/source.dart'; |
| 9 import 'package:analyzer/task/model.dart'; |
| 10 import 'package:yaml/yaml.dart'; |
| 11 |
| 12 /** |
| 13 * The result of parsing a YAML file. |
| 14 */ |
| 15 final ResultDescriptor<YamlDocument> YAML_DOCUMENT = |
| 16 new ResultDescriptor<YamlDocument>('YAML_DOCUMENT', null); |
| 17 |
| 18 /** |
| 19 * The analysis errors associated with a [Source] representing a YAML file. |
| 20 */ |
| 21 final ListResultDescriptor<AnalysisError> YAML_ERRORS = |
| 22 new ListResultDescriptor<AnalysisError>( |
| 23 'YAML_ERRORS', AnalysisError.NO_ERRORS); |
| OLD | NEW |