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

Side by Side Diff: pkg/analyzer/lib/src/generated/error.dart

Issue 247053004: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine.error; 8 library engine.error;
9 9
10 import 'java_core.dart'; 10 import 'java_core.dart';
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 @override 185 @override
186 ErrorType get type => ErrorType.POLYMER; 186 ErrorType get type => ErrorType.POLYMER;
187 } 187 }
188 188
189 /** 189 /**
190 * The enumeration `AngularCode` defines Angular specific problems. 190 * The enumeration `AngularCode` defines Angular specific problems.
191 */ 191 */
192 class AngularCode extends Enum<AngularCode> implements ErrorCode { 192 class AngularCode extends Enum<AngularCode> implements ErrorCode {
193 static const AngularCode CANNOT_PARSE_SELECTOR = const AngularCode('CANNOT_PAR SE_SELECTOR', 0, "The selector '%s' cannot be parsed"); 193 static const AngularCode CANNOT_PARSE_SELECTOR = const AngularCode('CANNOT_PAR SE_SELECTOR', 0, "The selector '%s' cannot be parsed");
194 194
195 static const AngularCode INVALID_FILTER_NAME = const AngularCode('INVALID_FILT ER_NAME', 1, "Filter name must be a simple identifier"); 195 static const AngularCode INVALID_FORMATTER_NAME = const AngularCode('INVALID_F ORMATTER_NAME', 1, "Formatter name must be a simple identifier");
196 196
197 static const AngularCode INVALID_PROPERTY_KIND = const AngularCode('INVALID_PR OPERTY_KIND', 2, "Unknown property binding kind '%s', use one of the '@', '=>', '=>!' or '<=>'"); 197 static const AngularCode INVALID_PROPERTY_KIND = const AngularCode('INVALID_PR OPERTY_KIND', 2, "Unknown property binding kind '%s', use one of the '@', '=>', '=>!' or '<=>'");
198 198
199 static const AngularCode INVALID_PROPERTY_FIELD = const AngularCode('INVALID_P ROPERTY_FIELD', 3, "Unknown property field '%s'"); 199 static const AngularCode INVALID_PROPERTY_FIELD = const AngularCode('INVALID_P ROPERTY_FIELD', 3, "Unknown property field '%s'");
200 200
201 static const AngularCode INVALID_PROPERTY_MAP = const AngularCode('INVALID_PRO PERTY_MAP', 4, "Argument 'map' must be a constant map literal"); 201 static const AngularCode INVALID_PROPERTY_MAP = const AngularCode('INVALID_PRO PERTY_MAP', 4, "Argument 'map' must be a constant map literal");
202 202
203 static const AngularCode INVALID_PROPERTY_NAME = const AngularCode('INVALID_PR OPERTY_NAME', 5, "Property name must be a string literal"); 203 static const AngularCode INVALID_PROPERTY_NAME = const AngularCode('INVALID_PR OPERTY_NAME', 5, "Property name must be a string literal");
204 204
205 static const AngularCode INVALID_PROPERTY_SPEC = const AngularCode('INVALID_PR OPERTY_SPEC', 6, "Property binding specification must be a string literal"); 205 static const AngularCode INVALID_PROPERTY_SPEC = const AngularCode('INVALID_PR OPERTY_SPEC', 6, "Property binding specification must be a string literal");
206 206
207 static const AngularCode INVALID_REPEAT_SYNTAX = const AngularCode('INVALID_RE PEAT_SYNTAX', 7, "Expected statement in form '_item_ in _collection_ [tracked by _id_]'"); 207 static const AngularCode INVALID_REPEAT_SYNTAX = const AngularCode('INVALID_RE PEAT_SYNTAX', 7, "Expected statement in form '_item_ in _collection_ [tracked by _id_]'");
208 208
209 static const AngularCode INVALID_REPEAT_ITEM_SYNTAX = const AngularCode('INVAL ID_REPEAT_ITEM_SYNTAX', 8, "Item must by identifier or in '(_key_, _value_)' pai r."); 209 static const AngularCode INVALID_REPEAT_ITEM_SYNTAX = const AngularCode('INVAL ID_REPEAT_ITEM_SYNTAX', 8, "Item must by identifier or in '(_key_, _value_)' pai r.");
210 210
211 static const AngularCode INVALID_URI = const AngularCode('INVALID_URI', 9, "In valid URI syntax: '%s'"); 211 static const AngularCode INVALID_URI = const AngularCode('INVALID_URI', 9, "In valid URI syntax: '%s'");
212 212
213 static const AngularCode MISSING_FILTER_COLON = const AngularCode('MISSING_FIL TER_COLON', 10, "Missing ':' before filter argument"); 213 static const AngularCode MISSING_FORMATTER_COLON = const AngularCode('MISSING_ FORMATTER_COLON', 10, "Missing ':' before formatter argument");
214 214
215 static const AngularCode MISSING_NAME = const AngularCode('MISSING_NAME', 11, "Argument 'name' must be provided"); 215 static const AngularCode MISSING_NAME = const AngularCode('MISSING_NAME', 11, "Argument 'name' must be provided");
216 216
217 static const AngularCode MISSING_PUBLISH_AS = const AngularCode('MISSING_PUBLI SH_AS', 12, "Argument 'publishAs' must be provided"); 217 static const AngularCode MISSING_PUBLISH_AS = const AngularCode('MISSING_PUBLI SH_AS', 12, "Argument 'publishAs' must be provided");
218 218
219 static const AngularCode MISSING_SELECTOR = const AngularCode('MISSING_SELECTO R', 13, "Argument 'selector' must be provided"); 219 static const AngularCode MISSING_SELECTOR = const AngularCode('MISSING_SELECTO R', 13, "Argument 'selector' must be provided");
220 220
221 static const AngularCode URI_DOES_NOT_EXIST = const AngularCode('URI_DOES_NOT_ EXIST', 14, "Target of URI does not exist: '%s'"); 221 static const AngularCode URI_DOES_NOT_EXIST = const AngularCode('URI_DOES_NOT_ EXIST', 14, "Target of URI does not exist: '%s'");
222 222
223 static const List<AngularCode> values = const [ 223 static const List<AngularCode> values = const [
224 CANNOT_PARSE_SELECTOR, 224 CANNOT_PARSE_SELECTOR,
225 INVALID_FILTER_NAME, 225 INVALID_FORMATTER_NAME,
226 INVALID_PROPERTY_KIND, 226 INVALID_PROPERTY_KIND,
227 INVALID_PROPERTY_FIELD, 227 INVALID_PROPERTY_FIELD,
228 INVALID_PROPERTY_MAP, 228 INVALID_PROPERTY_MAP,
229 INVALID_PROPERTY_NAME, 229 INVALID_PROPERTY_NAME,
230 INVALID_PROPERTY_SPEC, 230 INVALID_PROPERTY_SPEC,
231 INVALID_REPEAT_SYNTAX, 231 INVALID_REPEAT_SYNTAX,
232 INVALID_REPEAT_ITEM_SYNTAX, 232 INVALID_REPEAT_ITEM_SYNTAX,
233 INVALID_URI, 233 INVALID_URI,
234 MISSING_FILTER_COLON, 234 MISSING_FORMATTER_COLON,
235 MISSING_NAME, 235 MISSING_NAME,
236 MISSING_PUBLISH_AS, 236 MISSING_PUBLISH_AS,
237 MISSING_SELECTOR, 237 MISSING_SELECTOR,
238 URI_DOES_NOT_EXIST]; 238 URI_DOES_NOT_EXIST];
239 239
240 /** 240 /**
241 * The template used to create the message to be displayed for this error. 241 * The template used to create the message to be displayed for this error.
242 */ 242 */
243 final String message; 243 final String message;
244 244
(...skipping 3475 matching lines...) Expand 10 before | Expand all | Expand 10 after
3720 * @param correction the template used to create the correction to be displaye d for the error 3720 * @param correction the template used to create the correction to be displaye d for the error
3721 */ 3721 */
3722 const StaticTypeWarningCode.con2(String name, int ordinal, this.message, this. correction) : super(name, ordinal); 3722 const StaticTypeWarningCode.con2(String name, int ordinal, this.message, this. correction) : super(name, ordinal);
3723 3723
3724 @override 3724 @override
3725 ErrorSeverity get errorSeverity => ErrorType.STATIC_TYPE_WARNING.severity; 3725 ErrorSeverity get errorSeverity => ErrorType.STATIC_TYPE_WARNING.severity;
3726 3726
3727 @override 3727 @override
3728 ErrorType get type => ErrorType.STATIC_TYPE_WARNING; 3728 ErrorType get type => ErrorType.STATIC_TYPE_WARNING;
3729 } 3729 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698