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

Side by Side Diff: pkg/front_end/lib/compilation_error.dart

Issue 2431733002: Add "not intended to be implemented/extended" warnings to pkg/front_end. (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | pkg/front_end/lib/compiler_options.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 /// Defines the API for the front end to communicate information about 5 /// Defines the API for the front end to communicate information about
6 /// compilation errors to clients. 6 /// compilation errors to clients.
7 library front_end.compilation_error; 7 library front_end.compilation_error;
8 8
9 import 'package:source_span/source_span.dart' show SourceSpan; 9 import 'package:source_span/source_span.dart' show SourceSpan;
10 10
11 /// A single error that occurred during compilation, and information about where 11 /// A single error that occurred during compilation, and information about where
12 /// it occurred. 12 /// it occurred.
13 /// 13 ///
14 /// TODO(paulberry): add a reference to the analyzer error code. 14 /// TODO(paulberry): add a reference to the analyzer error code.
15 /// 15 ///
16 /// TODO(paulberry): add a correction message, once most analyzer errors have 16 /// TODO(paulberry): add a correction message, once most analyzer errors have
17 /// one. 17 /// one.
18 ///
19 /// Not intended to be implemented or extended by clients.
18 abstract class CompilationError { 20 abstract class CompilationError {
19 /// A text description of the compile error. 21 /// A text description of the compile error.
20 String get message; 22 String get message;
21 23
22 /// The source location where the error occurred. 24 /// The source location where the error occurred.
23 SourceSpan get location; 25 SourceSpan get location;
24 } 26 }
OLDNEW
« no previous file with comments | « no previous file | pkg/front_end/lib/compiler_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698