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

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

Issue 1645643002: Replace isAppropriateFor with suitabilityFor and start using it (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « pkg/analyzer/lib/task/model.dart ('k') | pkg/analyzer/test/src/task/model_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 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 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analyzer.task.yaml; 5 library analyzer.task.yaml;
6 6
7 import 'package:analyzer/src/generated/error.dart'; 7 import 'package:analyzer/src/generated/error.dart';
8 import 'package:analyzer/src/generated/source.dart'; 8 import 'package:analyzer/src/generated/source.dart';
9 import 'package:analyzer/task/model.dart'; 9 import 'package:analyzer/task/model.dart';
10 import 'package:yaml/yaml.dart'; 10 import 'package:yaml/yaml.dart';
11 11
12 /** 12 /**
13 * The result of parsing a YAML file. 13 * The result of parsing a YAML file.
14 */ 14 */
15 final ResultDescriptor<YamlDocument> YAML_DOCUMENT = 15 final ResultDescriptor<YamlDocument> YAML_DOCUMENT =
16 new ResultDescriptor<YamlDocument>('YAML_DOCUMENT', null); 16 new ResultDescriptor<YamlDocument>('YAML_DOCUMENT', null);
17 17
18 /** 18 /**
19 * The analysis errors associated with a [Source] representing a YAML file. 19 * The analysis errors associated with a [Source] representing a YAML file.
20 */ 20 */
21 final ListResultDescriptor<AnalysisError> YAML_ERRORS = 21 final ListResultDescriptor<AnalysisError> YAML_ERRORS =
22 new ListResultDescriptor<AnalysisError>( 22 new ListResultDescriptor<AnalysisError>(
23 'YAML_ERRORS', AnalysisError.NO_ERRORS); 23 'YAML_ERRORS', AnalysisError.NO_ERRORS);
24
25 /**
26 * The line information for a [Source].
27 */
28 final ResultDescriptor<LineInfo> YAML_LINE_INFO =
29 new ResultDescriptor<LineInfo>('YAML_LINE_INFO', null);
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/task/model.dart ('k') | pkg/analyzer/test/src/task/model_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698