| Index: packages/analyzer/lib/task/yaml.dart
|
| diff --git a/packages/analyzer/lib/task/yaml.dart b/packages/analyzer/lib/task/yaml.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3888bf70f93454a60f7b3b5bbf48e5cfa3cf53c5
|
| --- /dev/null
|
| +++ b/packages/analyzer/lib/task/yaml.dart
|
| @@ -0,0 +1,23 @@
|
| +// Copyright (c) 2016, 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.yaml;
|
| +
|
| +import 'package:analyzer/error/error.dart';
|
| +import 'package:analyzer/src/generated/source.dart';
|
| +import 'package:analyzer/task/model.dart';
|
| +import 'package:yaml/yaml.dart';
|
| +
|
| +/**
|
| + * The result of parsing a YAML file.
|
| + */
|
| +final ResultDescriptor<YamlDocument> YAML_DOCUMENT =
|
| + new ResultDescriptor<YamlDocument>('YAML_DOCUMENT', null);
|
| +
|
| +/**
|
| + * The analysis errors associated with a [Source] representing a YAML file.
|
| + */
|
| +final ListResultDescriptor<AnalysisError> YAML_ERRORS =
|
| + new ListResultDescriptor<AnalysisError>(
|
| + 'YAML_ERRORS', AnalysisError.NO_ERRORS);
|
|
|