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

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

Issue 2328043002: Move exception support to its own library (Closed)
Patch Set: Created 4 years, 3 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/src/task/manager.dart ('k') | pkg/analyzer/lib/task/model.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.src.task.yaml; 5 library analyzer.src.task.yaml;
6 6
7 import 'package:analyzer/exception/exception.dart';
7 import 'package:analyzer/src/context/cache.dart'; 8 import 'package:analyzer/src/context/cache.dart';
8 import 'package:analyzer/src/dart/scanner/scanner.dart'; 9 import 'package:analyzer/src/dart/scanner/scanner.dart';
9 import 'package:analyzer/src/generated/engine.dart'; 10 import 'package:analyzer/src/generated/engine.dart';
10 import 'package:analyzer/src/generated/error.dart'; 11 import 'package:analyzer/src/generated/error.dart';
11 import 'package:analyzer/src/generated/java_engine.dart';
12 import 'package:analyzer/src/generated/source.dart'; 12 import 'package:analyzer/src/generated/source.dart';
13 import 'package:analyzer/src/task/general.dart'; 13 import 'package:analyzer/src/task/general.dart';
14 import 'package:analyzer/task/general.dart'; 14 import 'package:analyzer/task/general.dart';
15 import 'package:analyzer/task/model.dart'; 15 import 'package:analyzer/task/model.dart';
16 import 'package:analyzer/task/yaml.dart'; 16 import 'package:analyzer/task/yaml.dart';
17 import 'package:source_span/source_span.dart'; 17 import 'package:source_span/source_span.dart';
18 import 'package:yaml/yaml.dart'; 18 import 'package:yaml/yaml.dart';
19 19
20 /** 20 /**
21 * A task that scans the content of a YAML file, producing a YAML document. 21 * A task that scans the content of a YAML file, producing a YAML document.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 */ 146 */
147 const YamlErrorCode(String name, String message, [String correction]) 147 const YamlErrorCode(String name, String message, [String correction])
148 : super(name, message, correction); 148 : super(name, message, correction);
149 149
150 @override 150 @override
151 ErrorSeverity get errorSeverity => ErrorSeverity.ERROR; 151 ErrorSeverity get errorSeverity => ErrorSeverity.ERROR;
152 152
153 @override 153 @override
154 ErrorType get type => ErrorType.COMPILE_TIME_ERROR; 154 ErrorType get type => ErrorType.COMPILE_TIME_ERROR;
155 } 155 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/task/manager.dart ('k') | pkg/analyzer/lib/task/model.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698