| Index: pkg/analyzer/lib/task/yaml.dart
|
| diff --git a/pkg/analyzer/lib/task/yaml.dart b/pkg/analyzer/lib/task/yaml.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..518ea5a249dad2f3559a8d1d3ec86583d9482140
|
| --- /dev/null
|
| +++ b/pkg/analyzer/lib/task/yaml.dart
|
| @@ -0,0 +1,29 @@
|
| +// 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/src/generated/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);
|
| +
|
| +/**
|
| + * The line information for a [Source].
|
| + */
|
| +final ResultDescriptor<LineInfo> YAML_LINE_INFO =
|
| + new ResultDescriptor<LineInfo>('YAML_LINE_INFO', null);
|
|
|