| OLD | NEW |
| 1 // This code was auto-generated, is not intended to be edited, and is subject to | 1 // This code was auto-generated, is not intended to be edited, and is subject to |
| 2 // significant change. Please see the README file for more information. | 2 // significant change. Please see the README file for more information. |
| 3 library engine.parser; | 3 library engine.parser; |
| 4 import 'dart:collection'; | 4 import 'dart:collection'; |
| 5 import 'java_core.dart'; | 5 import 'java_core.dart'; |
| 6 import 'instrumentation.dart'; | 6 import 'instrumentation.dart'; |
| 7 import 'error.dart'; | 7 import 'error.dart'; |
| 8 import 'source.dart'; | 8 import 'source.dart'; |
| 9 import 'scanner.dart'; | 9 import 'scanner.dart'; |
| 10 import 'ast.dart'; | 10 import 'ast.dart'; |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 * @return the compilation unit that was parsed | 198 * @return the compilation unit that was parsed |
| 199 */ | 199 */ |
| 200 CompilationUnit parseCompilationUnit(Token token) { | 200 CompilationUnit parseCompilationUnit(Token token) { |
| 201 InstrumentationBuilder instrumentation = Instrumentation.builder2("dart.engi
ne.Parser.parseCompilationUnit"); | 201 InstrumentationBuilder instrumentation = Instrumentation.builder2("dart.engi
ne.Parser.parseCompilationUnit"); |
| 202 try { | 202 try { |
| 203 _currentToken = token; | 203 _currentToken = token; |
| 204 CompilationUnit compilationUnit = parseCompilationUnit2(); | 204 CompilationUnit compilationUnit = parseCompilationUnit2(); |
| 205 gatherTodoComments(token); | 205 gatherTodoComments(token); |
| 206 return compilationUnit; | 206 return compilationUnit; |
| 207 } finally { | 207 } finally { |
| 208 instrumentation.log(); | 208 instrumentation.log2(2); |
| 209 } | 209 } |
| 210 } | 210 } |
| 211 | 211 |
| 212 /** | 212 /** |
| 213 * Parse an expression, starting with the given token. | 213 * Parse an expression, starting with the given token. |
| 214 * | 214 * |
| 215 * @param token the first token of the expression | 215 * @param token the first token of the expression |
| 216 * @return the expression that was parsed, or `null` if the tokens do not repr
esent a | 216 * @return the expression that was parsed, or `null` if the tokens do not repr
esent a |
| 217 * recognizable expression | 217 * recognizable expression |
| 218 */ | 218 */ |
| (...skipping 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1361 expression = new AssignmentExpression.full(expression, operator, parseExpr
essionWithoutCascade()); | 1361 expression = new AssignmentExpression.full(expression, operator, parseExpr
essionWithoutCascade()); |
| 1362 } | 1362 } |
| 1363 return expression; | 1363 return expression; |
| 1364 } | 1364 } |
| 1365 | 1365 |
| 1366 /** | 1366 /** |
| 1367 * Parse a class declaration. | 1367 * Parse a class declaration. |
| 1368 * | 1368 * |
| 1369 * <pre> | 1369 * <pre> |
| 1370 * classDeclaration ::= | 1370 * classDeclaration ::= |
| 1371 * metadata 'abstract'? 'class' name typeParameterList? (extendsClause wit
hClause?)? implementsClause? '{' classMembers '}' | 1371 * metadata 'abstract'? 'class' name typeParameterList? (extendsClause wit
hClause?)? implementsClause? '{' classMembers '}' | |
| 1372 * metadata 'abstract'? 'class' mixinApplicationClass |
| 1372 * </pre> | 1373 * </pre> |
| 1373 * | 1374 * |
| 1374 * @param commentAndMetadata the metadata to be associated with the member | 1375 * @param commentAndMetadata the metadata to be associated with the member |
| 1375 * @param abstractKeyword the token for the keyword 'abstract', or `null` if t
he keyword was | 1376 * @param abstractKeyword the token for the keyword 'abstract', or `null` if t
he keyword was |
| 1376 * not given | 1377 * not given |
| 1377 * @return the class declaration that was parsed | 1378 * @return the class declaration that was parsed |
| 1378 */ | 1379 */ |
| 1379 ClassDeclaration parseClassDeclaration(CommentAndMetadata commentAndMetadata,
Token abstractKeyword) { | 1380 CompilationUnitMember parseClassDeclaration(CommentAndMetadata commentAndMetad
ata, Token abstractKeyword) { |
| 1380 Token keyword = expect(Keyword.CLASS); | 1381 Token keyword = expect(Keyword.CLASS); |
| 1382 if (matchesIdentifier()) { |
| 1383 Token next = peek(); |
| 1384 if (matches4(next, TokenType.LT)) { |
| 1385 next = skipTypeParameterList(next); |
| 1386 if (next != null && matches4(next, TokenType.EQ)) { |
| 1387 return parseClassTypeAlias(commentAndMetadata, keyword); |
| 1388 } |
| 1389 } else if (matches4(next, TokenType.EQ)) { |
| 1390 return parseClassTypeAlias(commentAndMetadata, keyword); |
| 1391 } |
| 1392 } |
| 1381 SimpleIdentifier name = parseSimpleIdentifier(); | 1393 SimpleIdentifier name = parseSimpleIdentifier(); |
| 1382 String className = name.name; | 1394 String className = name.name; |
| 1383 TypeParameterList typeParameters = null; | 1395 TypeParameterList typeParameters = null; |
| 1384 if (matches5(TokenType.LT)) { | 1396 if (matches5(TokenType.LT)) { |
| 1385 typeParameters = parseTypeParameterList(); | 1397 typeParameters = parseTypeParameterList(); |
| 1386 } | 1398 } |
| 1387 ExtendsClause extendsClause = null; | 1399 ExtendsClause extendsClause = null; |
| 1388 WithClause withClause = null; | 1400 WithClause withClause = null; |
| 1389 ImplementsClause implementsClause = null; | 1401 ImplementsClause implementsClause = null; |
| 1390 bool foundClause = true; | 1402 bool foundClause = true; |
| (...skipping 1789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3180 * 'const'? typeArguments? '[' (expressionList ','?)? ']' | 3192 * 'const'? typeArguments? '[' (expressionList ','?)? ']' |
| 3181 * </pre> | 3193 * </pre> |
| 3182 * | 3194 * |
| 3183 * @param modifier the 'const' modifier appearing before the literal, or `null
` if there is | 3195 * @param modifier the 'const' modifier appearing before the literal, or `null
` if there is |
| 3184 * no modifier | 3196 * no modifier |
| 3185 * @param typeArguments the type arguments appearing before the literal, or `n
ull` if there | 3197 * @param typeArguments the type arguments appearing before the literal, or `n
ull` if there |
| 3186 * are no type arguments | 3198 * are no type arguments |
| 3187 * @return the list literal that was parsed | 3199 * @return the list literal that was parsed |
| 3188 */ | 3200 */ |
| 3189 ListLiteral parseListLiteral(Token modifier, TypeArgumentList typeArguments) { | 3201 ListLiteral parseListLiteral(Token modifier, TypeArgumentList typeArguments) { |
| 3190 if (typeArguments != null) { | |
| 3191 int num = typeArguments.arguments.length; | |
| 3192 if (num != 1) { | |
| 3193 reportError(ParserErrorCode.EXPECTED_ONE_LIST_TYPE_ARGUMENTS, typeArgume
nts, [num]); | |
| 3194 } | |
| 3195 } | |
| 3196 if (matches5(TokenType.INDEX)) { | 3202 if (matches5(TokenType.INDEX)) { |
| 3197 BeginToken leftBracket = new BeginToken(TokenType.OPEN_SQUARE_BRACKET, _cu
rrentToken.offset); | 3203 BeginToken leftBracket = new BeginToken(TokenType.OPEN_SQUARE_BRACKET, _cu
rrentToken.offset); |
| 3198 Token rightBracket = new Token(TokenType.CLOSE_SQUARE_BRACKET, _currentTok
en.offset + 1); | 3204 Token rightBracket = new Token(TokenType.CLOSE_SQUARE_BRACKET, _currentTok
en.offset + 1); |
| 3199 leftBracket.endToken = rightBracket; | 3205 leftBracket.endToken = rightBracket; |
| 3200 rightBracket.setNext(_currentToken.next); | 3206 rightBracket.setNext(_currentToken.next); |
| 3201 leftBracket.setNext(rightBracket); | 3207 leftBracket.setNext(rightBracket); |
| 3202 _currentToken.previous.setNext(leftBracket); | 3208 _currentToken.previous.setNext(leftBracket); |
| 3203 _currentToken = _currentToken.next; | 3209 _currentToken = _currentToken.next; |
| 3204 return new ListLiteral.full(modifier, typeArguments, leftBracket, null, ri
ghtBracket); | 3210 return new ListLiteral.full(modifier, typeArguments, leftBracket, null, ri
ghtBracket); |
| 3205 } | 3211 } |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3292 * 'const'? typeArguments? '{' (mapLiteralEntry (',' mapLiteralEntry)* ','
?)? '}' | 3298 * 'const'? typeArguments? '{' (mapLiteralEntry (',' mapLiteralEntry)* ','
?)? '}' |
| 3293 * </pre> | 3299 * </pre> |
| 3294 * | 3300 * |
| 3295 * @param modifier the 'const' modifier appearing before the literal, or `null
` if there is | 3301 * @param modifier the 'const' modifier appearing before the literal, or `null
` if there is |
| 3296 * no modifier | 3302 * no modifier |
| 3297 * @param typeArguments the type arguments that were declared, or `null` if th
ere are no | 3303 * @param typeArguments the type arguments that were declared, or `null` if th
ere are no |
| 3298 * type arguments | 3304 * type arguments |
| 3299 * @return the map literal that was parsed | 3305 * @return the map literal that was parsed |
| 3300 */ | 3306 */ |
| 3301 MapLiteral parseMapLiteral(Token modifier, TypeArgumentList typeArguments) { | 3307 MapLiteral parseMapLiteral(Token modifier, TypeArgumentList typeArguments) { |
| 3302 if (typeArguments != null) { | |
| 3303 int num = typeArguments.arguments.length; | |
| 3304 if (num != 2) { | |
| 3305 reportError(ParserErrorCode.EXPECTED_TWO_MAP_TYPE_ARGUMENTS, typeArgumen
ts, [num]); | |
| 3306 } | |
| 3307 } | |
| 3308 Token leftBracket = expect2(TokenType.OPEN_CURLY_BRACKET); | 3308 Token leftBracket = expect2(TokenType.OPEN_CURLY_BRACKET); |
| 3309 List<MapLiteralEntry> entries = new List<MapLiteralEntry>(); | 3309 List<MapLiteralEntry> entries = new List<MapLiteralEntry>(); |
| 3310 if (matches5(TokenType.CLOSE_CURLY_BRACKET)) { | 3310 if (matches5(TokenType.CLOSE_CURLY_BRACKET)) { |
| 3311 return new MapLiteral.full(modifier, typeArguments, leftBracket, entries,
andAdvance); | 3311 return new MapLiteral.full(modifier, typeArguments, leftBracket, entries,
andAdvance); |
| 3312 } | 3312 } |
| 3313 entries.add(parseMapLiteralEntry()); | 3313 entries.add(parseMapLiteralEntry()); |
| 3314 while (optional(TokenType.COMMA)) { | 3314 while (optional(TokenType.COMMA)) { |
| 3315 if (matches5(TokenType.CLOSE_CURLY_BRACKET)) { | 3315 if (matches5(TokenType.CLOSE_CURLY_BRACKET)) { |
| 3316 return new MapLiteral.full(modifier, typeArguments, leftBracket, entries
, andAdvance); | 3316 return new MapLiteral.full(modifier, typeArguments, leftBracket, entries
, andAdvance); |
| 3317 } | 3317 } |
| (...skipping 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4494 * @param commentAndMetadata the metadata to be associated with the member | 4494 * @param commentAndMetadata the metadata to be associated with the member |
| 4495 * @return the type alias that was parsed | 4495 * @return the type alias that was parsed |
| 4496 */ | 4496 */ |
| 4497 TypeAlias parseTypeAlias(CommentAndMetadata commentAndMetadata) { | 4497 TypeAlias parseTypeAlias(CommentAndMetadata commentAndMetadata) { |
| 4498 Token keyword = expect(Keyword.TYPEDEF); | 4498 Token keyword = expect(Keyword.TYPEDEF); |
| 4499 if (matchesIdentifier()) { | 4499 if (matchesIdentifier()) { |
| 4500 Token next = peek(); | 4500 Token next = peek(); |
| 4501 if (matches4(next, TokenType.LT)) { | 4501 if (matches4(next, TokenType.LT)) { |
| 4502 next = skipTypeParameterList(next); | 4502 next = skipTypeParameterList(next); |
| 4503 if (next != null && matches4(next, TokenType.EQ)) { | 4503 if (next != null && matches4(next, TokenType.EQ)) { |
| 4504 return parseClassTypeAlias(commentAndMetadata, keyword); | 4504 TypeAlias typeAlias = parseClassTypeAlias(commentAndMetadata, keyword)
; |
| 4505 return typeAlias; |
| 4505 } | 4506 } |
| 4506 } else if (matches4(next, TokenType.EQ)) { | 4507 } else if (matches4(next, TokenType.EQ)) { |
| 4507 return parseClassTypeAlias(commentAndMetadata, keyword); | 4508 TypeAlias typeAlias = parseClassTypeAlias(commentAndMetadata, keyword); |
| 4509 return typeAlias; |
| 4508 } | 4510 } |
| 4509 } | 4511 } |
| 4510 return parseFunctionTypeAlias(commentAndMetadata, keyword); | 4512 return parseFunctionTypeAlias(commentAndMetadata, keyword); |
| 4511 } | 4513 } |
| 4512 | 4514 |
| 4513 /** | 4515 /** |
| 4514 * Parse a list of type arguments. | 4516 * Parse a list of type arguments. |
| 4515 * | 4517 * |
| 4516 * <pre> | 4518 * <pre> |
| 4517 * typeArguments ::= | 4519 * typeArguments ::= |
| (...skipping 1166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5684 static final ParserErrorCode CONST_AND_VAR = new ParserErrorCode.con3('CONST_A
ND_VAR', 11, "Members cannot be declared to be both 'const' and 'var'"); | 5686 static final ParserErrorCode CONST_AND_VAR = new ParserErrorCode.con3('CONST_A
ND_VAR', 11, "Members cannot be declared to be both 'const' and 'var'"); |
| 5685 static final ParserErrorCode CONST_CLASS = new ParserErrorCode.con3('CONST_CLA
SS', 12, "Classes cannot be declared to be 'const'"); | 5687 static final ParserErrorCode CONST_CLASS = new ParserErrorCode.con3('CONST_CLA
SS', 12, "Classes cannot be declared to be 'const'"); |
| 5686 static final ParserErrorCode CONST_CONSTRUCTOR_WITH_BODY = new ParserErrorCode
.con3('CONST_CONSTRUCTOR_WITH_BODY', 13, "'const' constructors cannot have a bod
y"); | 5688 static final ParserErrorCode CONST_CONSTRUCTOR_WITH_BODY = new ParserErrorCode
.con3('CONST_CONSTRUCTOR_WITH_BODY', 13, "'const' constructors cannot have a bod
y"); |
| 5687 static final ParserErrorCode CONST_FACTORY = new ParserErrorCode.con3('CONST_F
ACTORY', 14, "Only redirecting factory constructors can be declared to be 'const
'"); | 5689 static final ParserErrorCode CONST_FACTORY = new ParserErrorCode.con3('CONST_F
ACTORY', 14, "Only redirecting factory constructors can be declared to be 'const
'"); |
| 5688 static final ParserErrorCode CONST_METHOD = new ParserErrorCode.con3('CONST_ME
THOD', 15, "Getters, setters and methods cannot be declared to be 'const'"); | 5690 static final ParserErrorCode CONST_METHOD = new ParserErrorCode.con3('CONST_ME
THOD', 15, "Getters, setters and methods cannot be declared to be 'const'"); |
| 5689 static final ParserErrorCode CONST_TYPEDEF = new ParserErrorCode.con3('CONST_T
YPEDEF', 16, "Type aliases cannot be declared to be 'const'"); | 5691 static final ParserErrorCode CONST_TYPEDEF = new ParserErrorCode.con3('CONST_T
YPEDEF', 16, "Type aliases cannot be declared to be 'const'"); |
| 5690 static final ParserErrorCode CONSTRUCTOR_WITH_RETURN_TYPE = new ParserErrorCod
e.con3('CONSTRUCTOR_WITH_RETURN_TYPE', 17, "Constructors cannot have a return ty
pe"); | 5692 static final ParserErrorCode CONSTRUCTOR_WITH_RETURN_TYPE = new ParserErrorCod
e.con3('CONSTRUCTOR_WITH_RETURN_TYPE', 17, "Constructors cannot have a return ty
pe"); |
| 5691 static final ParserErrorCode CONTINUE_OUTSIDE_OF_LOOP = new ParserErrorCode.co
n3('CONTINUE_OUTSIDE_OF_LOOP', 18, "A continue statement cannot be used outside
of a loop or switch statement"); | 5693 static final ParserErrorCode CONTINUE_OUTSIDE_OF_LOOP = new ParserErrorCode.co
n3('CONTINUE_OUTSIDE_OF_LOOP', 18, "A continue statement cannot be used outside
of a loop or switch statement"); |
| 5692 static final ParserErrorCode CONTINUE_WITHOUT_LABEL_IN_CASE = new ParserErrorC
ode.con3('CONTINUE_WITHOUT_LABEL_IN_CASE', 19, "A continue statement in a switch
statement must have a label as a target"); | 5694 static final ParserErrorCode CONTINUE_WITHOUT_LABEL_IN_CASE = new ParserErrorC
ode.con3('CONTINUE_WITHOUT_LABEL_IN_CASE', 19, "A continue statement in a switch
statement must have a label as a target"); |
| 5693 static final ParserErrorCode DEPRECATED_ARGUMENT_DEFINITION_TEST = new ParserE
rrorCode.con3('DEPRECATED_ARGUMENT_DEFINITION_TEST', 20, "The argument definitio
n test ('?' operator) has been deprecated"); | 5695 static final ParserErrorCode DEPRECATED_ARGUMENT_DEFINITION_TEST = new ParserE
rrorCode.con3('DEPRECATED_ARGUMENT_DEFINITION_TEST', 20, "The argument definitio
n test ('?' operator) has been deprecated"); |
| 5694 static final ParserErrorCode DIRECTIVE_AFTER_DECLARATION = new ParserErrorCode
.con3('DIRECTIVE_AFTER_DECLARATION', 21, "Directives must appear before any decl
arations"); | 5696 static final ParserErrorCode DEPRECATED_CLASS_TYPE_ALIAS = new ParserErrorCode
.con3('DEPRECATED_CLASS_TYPE_ALIAS', 21, "The 'typedef' mixin application was re
placed with 'class'"); |
| 5695 static final ParserErrorCode DUPLICATE_LABEL_IN_SWITCH_STATEMENT = new ParserE
rrorCode.con3('DUPLICATE_LABEL_IN_SWITCH_STATEMENT', 22, "The label %s was alrea
dy used in this switch statement"); | 5697 static final ParserErrorCode DIRECTIVE_AFTER_DECLARATION = new ParserErrorCode
.con3('DIRECTIVE_AFTER_DECLARATION', 22, "Directives must appear before any decl
arations"); |
| 5696 static final ParserErrorCode DUPLICATED_MODIFIER = new ParserErrorCode.con3('D
UPLICATED_MODIFIER', 23, "The modifier '%s' was already specified."); | 5698 static final ParserErrorCode DUPLICATE_LABEL_IN_SWITCH_STATEMENT = new ParserE
rrorCode.con3('DUPLICATE_LABEL_IN_SWITCH_STATEMENT', 23, "The label %s was alrea
dy used in this switch statement"); |
| 5697 static final ParserErrorCode EQUALITY_CANNOT_BE_EQUALITY_OPERAND = new ParserE
rrorCode.con3('EQUALITY_CANNOT_BE_EQUALITY_OPERAND', 24, "Equality expression ca
nnot be operand of another equality expression."); | 5699 static final ParserErrorCode DUPLICATED_MODIFIER = new ParserErrorCode.con3('D
UPLICATED_MODIFIER', 24, "The modifier '%s' was already specified."); |
| 5698 static final ParserErrorCode EXPECTED_CASE_OR_DEFAULT = new ParserErrorCode.co
n3('EXPECTED_CASE_OR_DEFAULT', 25, "Expected 'case' or 'default'"); | 5700 static final ParserErrorCode EQUALITY_CANNOT_BE_EQUALITY_OPERAND = new ParserE
rrorCode.con3('EQUALITY_CANNOT_BE_EQUALITY_OPERAND', 25, "Equality expression ca
nnot be operand of another equality expression."); |
| 5699 static final ParserErrorCode EXPECTED_CLASS_MEMBER = new ParserErrorCode.con3(
'EXPECTED_CLASS_MEMBER', 26, "Expected a class member"); | 5701 static final ParserErrorCode EXPECTED_CASE_OR_DEFAULT = new ParserErrorCode.co
n3('EXPECTED_CASE_OR_DEFAULT', 26, "Expected 'case' or 'default'"); |
| 5700 static final ParserErrorCode EXPECTED_EXECUTABLE = new ParserErrorCode.con3('E
XPECTED_EXECUTABLE', 27, "Expected a method, getter, setter or operator declarat
ion"); | 5702 static final ParserErrorCode EXPECTED_CLASS_MEMBER = new ParserErrorCode.con3(
'EXPECTED_CLASS_MEMBER', 27, "Expected a class member"); |
| 5701 static final ParserErrorCode EXPECTED_LIST_OR_MAP_LITERAL = new ParserErrorCod
e.con3('EXPECTED_LIST_OR_MAP_LITERAL', 28, "Expected a list or map literal"); | 5703 static final ParserErrorCode EXPECTED_EXECUTABLE = new ParserErrorCode.con3('E
XPECTED_EXECUTABLE', 28, "Expected a method, getter, setter or operator declarat
ion"); |
| 5702 static final ParserErrorCode EXPECTED_STRING_LITERAL = new ParserErrorCode.con
3('EXPECTED_STRING_LITERAL', 29, "Expected a string literal"); | 5704 static final ParserErrorCode EXPECTED_LIST_OR_MAP_LITERAL = new ParserErrorCod
e.con3('EXPECTED_LIST_OR_MAP_LITERAL', 29, "Expected a list or map literal"); |
| 5703 static final ParserErrorCode EXPECTED_TOKEN = new ParserErrorCode.con3('EXPECT
ED_TOKEN', 30, "Expected to find '%s'"); | 5705 static final ParserErrorCode EXPECTED_STRING_LITERAL = new ParserErrorCode.con
3('EXPECTED_STRING_LITERAL', 30, "Expected a string literal"); |
| 5704 static final ParserErrorCode EXPECTED_ONE_LIST_TYPE_ARGUMENTS = new ParserErro
rCode.con3('EXPECTED_ONE_LIST_TYPE_ARGUMENTS', 31, "List literal requires exactl
y one type arguments or none, but %d found"); | 5706 static final ParserErrorCode EXPECTED_TOKEN = new ParserErrorCode.con3('EXPECT
ED_TOKEN', 31, "Expected to find '%s'"); |
| 5705 static final ParserErrorCode EXPECTED_TWO_MAP_TYPE_ARGUMENTS = new ParserError
Code.con3('EXPECTED_TWO_MAP_TYPE_ARGUMENTS', 32, "Map literal requires exactly t
wo type arguments or none, but %d found"); | 5707 static final ParserErrorCode EXPECTED_TYPE_NAME = new ParserErrorCode.con3('EX
PECTED_TYPE_NAME', 32, "Expected a type name"); |
| 5706 static final ParserErrorCode EXPECTED_TYPE_NAME = new ParserErrorCode.con3('EX
PECTED_TYPE_NAME', 33, "Expected a type name"); | 5708 static final ParserErrorCode EXPORT_DIRECTIVE_AFTER_PART_DIRECTIVE = new Parse
rErrorCode.con3('EXPORT_DIRECTIVE_AFTER_PART_DIRECTIVE', 33, "Export directives
must preceed part directives"); |
| 5707 static final ParserErrorCode EXPORT_DIRECTIVE_AFTER_PART_DIRECTIVE = new Parse
rErrorCode.con3('EXPORT_DIRECTIVE_AFTER_PART_DIRECTIVE', 34, "Export directives
must preceed part directives"); | 5709 static final ParserErrorCode EXTERNAL_AFTER_CONST = new ParserErrorCode.con3('
EXTERNAL_AFTER_CONST', 34, "The modifier 'external' should be before the modifie
r 'const'"); |
| 5708 static final ParserErrorCode EXTERNAL_AFTER_CONST = new ParserErrorCode.con3('
EXTERNAL_AFTER_CONST', 35, "The modifier 'external' should be before the modifie
r 'const'"); | 5710 static final ParserErrorCode EXTERNAL_AFTER_FACTORY = new ParserErrorCode.con3
('EXTERNAL_AFTER_FACTORY', 35, "The modifier 'external' should be before the mod
ifier 'factory'"); |
| 5709 static final ParserErrorCode EXTERNAL_AFTER_FACTORY = new ParserErrorCode.con3
('EXTERNAL_AFTER_FACTORY', 36, "The modifier 'external' should be before the mod
ifier 'factory'"); | 5711 static final ParserErrorCode EXTERNAL_AFTER_STATIC = new ParserErrorCode.con3(
'EXTERNAL_AFTER_STATIC', 36, "The modifier 'external' should be before the modif
ier 'static'"); |
| 5710 static final ParserErrorCode EXTERNAL_AFTER_STATIC = new ParserErrorCode.con3(
'EXTERNAL_AFTER_STATIC', 37, "The modifier 'external' should be before the modif
ier 'static'"); | 5712 static final ParserErrorCode EXTERNAL_CLASS = new ParserErrorCode.con3('EXTERN
AL_CLASS', 37, "Classes cannot be declared to be 'external'"); |
| 5711 static final ParserErrorCode EXTERNAL_CLASS = new ParserErrorCode.con3('EXTERN
AL_CLASS', 38, "Classes cannot be declared to be 'external'"); | 5713 static final ParserErrorCode EXTERNAL_CONSTRUCTOR_WITH_BODY = new ParserErrorC
ode.con3('EXTERNAL_CONSTRUCTOR_WITH_BODY', 38, "External constructors cannot hav
e a body"); |
| 5712 static final ParserErrorCode EXTERNAL_CONSTRUCTOR_WITH_BODY = new ParserErrorC
ode.con3('EXTERNAL_CONSTRUCTOR_WITH_BODY', 39, "External constructors cannot hav
e a body"); | 5714 static final ParserErrorCode EXTERNAL_FIELD = new ParserErrorCode.con3('EXTERN
AL_FIELD', 39, "Fields cannot be declared to be 'external'"); |
| 5713 static final ParserErrorCode EXTERNAL_FIELD = new ParserErrorCode.con3('EXTERN
AL_FIELD', 40, "Fields cannot be declared to be 'external'"); | 5715 static final ParserErrorCode EXTERNAL_GETTER_WITH_BODY = new ParserErrorCode.c
on3('EXTERNAL_GETTER_WITH_BODY', 40, "External getters cannot have a body"); |
| 5714 static final ParserErrorCode EXTERNAL_GETTER_WITH_BODY = new ParserErrorCode.c
on3('EXTERNAL_GETTER_WITH_BODY', 41, "External getters cannot have a body"); | 5716 static final ParserErrorCode EXTERNAL_METHOD_WITH_BODY = new ParserErrorCode.c
on3('EXTERNAL_METHOD_WITH_BODY', 41, "External methods cannot have a body"); |
| 5715 static final ParserErrorCode EXTERNAL_METHOD_WITH_BODY = new ParserErrorCode.c
on3('EXTERNAL_METHOD_WITH_BODY', 42, "External methods cannot have a body"); | 5717 static final ParserErrorCode EXTERNAL_OPERATOR_WITH_BODY = new ParserErrorCode
.con3('EXTERNAL_OPERATOR_WITH_BODY', 42, "External operators cannot have a body"
); |
| 5716 static final ParserErrorCode EXTERNAL_OPERATOR_WITH_BODY = new ParserErrorCode
.con3('EXTERNAL_OPERATOR_WITH_BODY', 43, "External operators cannot have a body"
); | 5718 static final ParserErrorCode EXTERNAL_SETTER_WITH_BODY = new ParserErrorCode.c
on3('EXTERNAL_SETTER_WITH_BODY', 43, "External setters cannot have a body"); |
| 5717 static final ParserErrorCode EXTERNAL_SETTER_WITH_BODY = new ParserErrorCode.c
on3('EXTERNAL_SETTER_WITH_BODY', 44, "External setters cannot have a body"); | 5719 static final ParserErrorCode EXTERNAL_TYPEDEF = new ParserErrorCode.con3('EXTE
RNAL_TYPEDEF', 44, "Type aliases cannot be declared to be 'external'"); |
| 5718 static final ParserErrorCode EXTERNAL_TYPEDEF = new ParserErrorCode.con3('EXTE
RNAL_TYPEDEF', 45, "Type aliases cannot be declared to be 'external'"); | 5720 static final ParserErrorCode FACTORY_TOP_LEVEL_DECLARATION = new ParserErrorCo
de.con3('FACTORY_TOP_LEVEL_DECLARATION', 45, "Top-level declarations cannot be d
eclared to be 'factory'"); |
| 5719 static final ParserErrorCode FACTORY_TOP_LEVEL_DECLARATION = new ParserErrorCo
de.con3('FACTORY_TOP_LEVEL_DECLARATION', 46, "Top-level declarations cannot be d
eclared to be 'factory'"); | 5721 static final ParserErrorCode FACTORY_WITHOUT_BODY = new ParserErrorCode.con3('
FACTORY_WITHOUT_BODY', 46, "A non-redirecting 'factory' constructor must have a
body"); |
| 5720 static final ParserErrorCode FACTORY_WITHOUT_BODY = new ParserErrorCode.con3('
FACTORY_WITHOUT_BODY', 47, "A non-redirecting 'factory' constructor must have a
body"); | 5722 static final ParserErrorCode FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR = new Parse
rErrorCode.con3('FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR', 47, "Field initializers
can only be used in a constructor"); |
| 5721 static final ParserErrorCode FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR = new Parse
rErrorCode.con3('FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR', 48, "Field initializers
can only be used in a constructor"); | 5723 static final ParserErrorCode FINAL_AND_VAR = new ParserErrorCode.con3('FINAL_A
ND_VAR', 48, "Members cannot be declared to be both 'final' and 'var'"); |
| 5722 static final ParserErrorCode FINAL_AND_VAR = new ParserErrorCode.con3('FINAL_A
ND_VAR', 49, "Members cannot be declared to be both 'final' and 'var'"); | 5724 static final ParserErrorCode FINAL_CLASS = new ParserErrorCode.con3('FINAL_CLA
SS', 49, "Classes cannot be declared to be 'final'"); |
| 5723 static final ParserErrorCode FINAL_CLASS = new ParserErrorCode.con3('FINAL_CLA
SS', 50, "Classes cannot be declared to be 'final'"); | 5725 static final ParserErrorCode FINAL_CONSTRUCTOR = new ParserErrorCode.con3('FIN
AL_CONSTRUCTOR', 50, "A constructor cannot be declared to be 'final'"); |
| 5724 static final ParserErrorCode FINAL_CONSTRUCTOR = new ParserErrorCode.con3('FIN
AL_CONSTRUCTOR', 51, "A constructor cannot be declared to be 'final'"); | 5726 static final ParserErrorCode FINAL_METHOD = new ParserErrorCode.con3('FINAL_ME
THOD', 51, "Getters, setters and methods cannot be declared to be 'final'"); |
| 5725 static final ParserErrorCode FINAL_METHOD = new ParserErrorCode.con3('FINAL_ME
THOD', 52, "Getters, setters and methods cannot be declared to be 'final'"); | 5727 static final ParserErrorCode FINAL_TYPEDEF = new ParserErrorCode.con3('FINAL_T
YPEDEF', 52, "Type aliases cannot be declared to be 'final'"); |
| 5726 static final ParserErrorCode FINAL_TYPEDEF = new ParserErrorCode.con3('FINAL_T
YPEDEF', 53, "Type aliases cannot be declared to be 'final'"); | 5728 static final ParserErrorCode FUNCTION_TYPED_PARAMETER_VAR = new ParserErrorCod
e.con3('FUNCTION_TYPED_PARAMETER_VAR', 53, "Function typed parameters cannot spe
cify 'const', 'final' or 'var' instead of return type"); |
| 5727 static final ParserErrorCode FUNCTION_TYPED_PARAMETER_VAR = new ParserErrorCod
e.con3('FUNCTION_TYPED_PARAMETER_VAR', 54, "Function typed parameters cannot spe
cify 'const', 'final' or 'var' instead of return type"); | 5729 static final ParserErrorCode GETTER_IN_FUNCTION = new ParserErrorCode.con3('GE
TTER_IN_FUNCTION', 54, "Getters cannot be defined within methods or functions"); |
| 5728 static final ParserErrorCode GETTER_IN_FUNCTION = new ParserErrorCode.con3('GE
TTER_IN_FUNCTION', 55, "Getters cannot be defined within methods or functions"); | 5730 static final ParserErrorCode GETTER_WITH_PARAMETERS = new ParserErrorCode.con3
('GETTER_WITH_PARAMETERS', 55, "Getter should be declared without a parameter li
st"); |
| 5729 static final ParserErrorCode GETTER_WITH_PARAMETERS = new ParserErrorCode.con3
('GETTER_WITH_PARAMETERS', 56, "Getter should be declared without a parameter li
st"); | 5731 static final ParserErrorCode ILLEGAL_ASSIGNMENT_TO_NON_ASSIGNABLE = new Parser
ErrorCode.con3('ILLEGAL_ASSIGNMENT_TO_NON_ASSIGNABLE', 56, "Illegal assignment t
o non-assignable expression"); |
| 5730 static final ParserErrorCode ILLEGAL_ASSIGNMENT_TO_NON_ASSIGNABLE = new Parser
ErrorCode.con3('ILLEGAL_ASSIGNMENT_TO_NON_ASSIGNABLE', 57, "Illegal assignment t
o non-assignable expression"); | 5732 static final ParserErrorCode IMPLEMENTS_BEFORE_EXTENDS = new ParserErrorCode.c
on3('IMPLEMENTS_BEFORE_EXTENDS', 57, "The extends clause must be before the impl
ements clause"); |
| 5731 static final ParserErrorCode IMPLEMENTS_BEFORE_EXTENDS = new ParserErrorCode.c
on3('IMPLEMENTS_BEFORE_EXTENDS', 58, "The extends clause must be before the impl
ements clause"); | 5733 static final ParserErrorCode IMPLEMENTS_BEFORE_WITH = new ParserErrorCode.con3
('IMPLEMENTS_BEFORE_WITH', 58, "The with clause must be before the implements cl
ause"); |
| 5732 static final ParserErrorCode IMPLEMENTS_BEFORE_WITH = new ParserErrorCode.con3
('IMPLEMENTS_BEFORE_WITH', 59, "The with clause must be before the implements cl
ause"); | 5734 static final ParserErrorCode IMPORT_DIRECTIVE_AFTER_PART_DIRECTIVE = new Parse
rErrorCode.con3('IMPORT_DIRECTIVE_AFTER_PART_DIRECTIVE', 59, "Import directives
must preceed part directives"); |
| 5733 static final ParserErrorCode IMPORT_DIRECTIVE_AFTER_PART_DIRECTIVE = new Parse
rErrorCode.con3('IMPORT_DIRECTIVE_AFTER_PART_DIRECTIVE', 60, "Import directives
must preceed part directives"); | 5735 static final ParserErrorCode INITIALIZED_VARIABLE_IN_FOR_EACH = new ParserErro
rCode.con3('INITIALIZED_VARIABLE_IN_FOR_EACH', 60, "The loop variable in a for-e
ach loop cannot be initialized"); |
| 5734 static final ParserErrorCode INITIALIZED_VARIABLE_IN_FOR_EACH = new ParserErro
rCode.con3('INITIALIZED_VARIABLE_IN_FOR_EACH', 61, "The loop variable in a for-e
ach loop cannot be initialized"); | 5736 static final ParserErrorCode INVALID_CODE_POINT = new ParserErrorCode.con3('IN
VALID_CODE_POINT', 61, "The escape sequence '%s' is not a valid code point"); |
| 5735 static final ParserErrorCode INVALID_CODE_POINT = new ParserErrorCode.con3('IN
VALID_CODE_POINT', 62, "The escape sequence '%s' is not a valid code point"); | 5737 static final ParserErrorCode INVALID_COMMENT_REFERENCE = new ParserErrorCode.c
on3('INVALID_COMMENT_REFERENCE', 62, "Comment references should contain a possib
ly prefixed identifier and can start with 'new', but should not contain anything
else"); |
| 5736 static final ParserErrorCode INVALID_COMMENT_REFERENCE = new ParserErrorCode.c
on3('INVALID_COMMENT_REFERENCE', 63, "Comment references should contain a possib
ly prefixed identifier and can start with 'new', but should not contain anything
else"); | 5738 static final ParserErrorCode INVALID_HEX_ESCAPE = new ParserErrorCode.con3('IN
VALID_HEX_ESCAPE', 63, "An escape sequence starting with '\\x' must be followed
by 2 hexidecimal digits"); |
| 5737 static final ParserErrorCode INVALID_HEX_ESCAPE = new ParserErrorCode.con3('IN
VALID_HEX_ESCAPE', 64, "An escape sequence starting with '\\x' must be followed
by 2 hexidecimal digits"); | 5739 static final ParserErrorCode INVALID_OPERATOR = new ParserErrorCode.con3('INVA
LID_OPERATOR', 64, "The string '%s' is not a valid operator"); |
| 5738 static final ParserErrorCode INVALID_OPERATOR = new ParserErrorCode.con3('INVA
LID_OPERATOR', 65, "The string '%s' is not a valid operator"); | 5740 static final ParserErrorCode INVALID_OPERATOR_FOR_SUPER = new ParserErrorCode.
con3('INVALID_OPERATOR_FOR_SUPER', 65, "The operator '%s' cannot be used with 's
uper'"); |
| 5739 static final ParserErrorCode INVALID_OPERATOR_FOR_SUPER = new ParserErrorCode.
con3('INVALID_OPERATOR_FOR_SUPER', 66, "The operator '%s' cannot be used with 's
uper'"); | 5741 static final ParserErrorCode INVALID_UNICODE_ESCAPE = new ParserErrorCode.con3
('INVALID_UNICODE_ESCAPE', 66, "An escape sequence starting with '\\u' must be f
ollowed by 4 hexidecimal digits or from 1 to 6 digits between '{' and '}'"); |
| 5740 static final ParserErrorCode INVALID_UNICODE_ESCAPE = new ParserErrorCode.con3
('INVALID_UNICODE_ESCAPE', 67, "An escape sequence starting with '\\u' must be f
ollowed by 4 hexidecimal digits or from 1 to 6 digits between '{' and '}'"); | 5742 static final ParserErrorCode LIBRARY_DIRECTIVE_NOT_FIRST = new ParserErrorCode
.con3('LIBRARY_DIRECTIVE_NOT_FIRST', 67, "The library directive must appear befo
re all other directives"); |
| 5741 static final ParserErrorCode LIBRARY_DIRECTIVE_NOT_FIRST = new ParserErrorCode
.con3('LIBRARY_DIRECTIVE_NOT_FIRST', 68, "The library directive must appear befo
re all other directives"); | 5743 static final ParserErrorCode LOCAL_FUNCTION_DECLARATION_MODIFIER = new ParserE
rrorCode.con3('LOCAL_FUNCTION_DECLARATION_MODIFIER', 68, "Local function declara
tions cannot specify any modifier"); |
| 5742 static final ParserErrorCode LOCAL_FUNCTION_DECLARATION_MODIFIER = new ParserE
rrorCode.con3('LOCAL_FUNCTION_DECLARATION_MODIFIER', 69, "Local function declara
tions cannot specify any modifier"); | 5744 static final ParserErrorCode MISSING_ASSIGNABLE_SELECTOR = new ParserErrorCode
.con3('MISSING_ASSIGNABLE_SELECTOR', 69, "Missing selector such as \".<identifie
r>\" or \"[0]\""); |
| 5743 static final ParserErrorCode MISSING_ASSIGNABLE_SELECTOR = new ParserErrorCode
.con3('MISSING_ASSIGNABLE_SELECTOR', 70, "Missing selector such as \".<identifie
r>\" or \"[0]\""); | 5745 static final ParserErrorCode MISSING_CATCH_OR_FINALLY = new ParserErrorCode.co
n3('MISSING_CATCH_OR_FINALLY', 70, "A try statement must have either a catch or
finally clause"); |
| 5744 static final ParserErrorCode MISSING_CATCH_OR_FINALLY = new ParserErrorCode.co
n3('MISSING_CATCH_OR_FINALLY', 71, "A try statement must have either a catch or
finally clause"); | 5746 static final ParserErrorCode MISSING_CLASS_BODY = new ParserErrorCode.con3('MI
SSING_CLASS_BODY', 71, "A class definition must have a body, even if it is empty
"); |
| 5745 static final ParserErrorCode MISSING_CLASS_BODY = new ParserErrorCode.con3('MI
SSING_CLASS_BODY', 72, "A class definition must have a body, even if it is empty
"); | 5747 static final ParserErrorCode MISSING_CLOSING_PARENTHESIS = new ParserErrorCode
.con3('MISSING_CLOSING_PARENTHESIS', 72, "The closing parenthesis is missing"); |
| 5746 static final ParserErrorCode MISSING_CLOSING_PARENTHESIS = new ParserErrorCode
.con3('MISSING_CLOSING_PARENTHESIS', 73, "The closing parenthesis is missing"); | 5748 static final ParserErrorCode MISSING_CONST_FINAL_VAR_OR_TYPE = new ParserError
Code.con3('MISSING_CONST_FINAL_VAR_OR_TYPE', 73, "Variables must be declared usi
ng the keywords 'const', 'final', 'var' or a type name"); |
| 5747 static final ParserErrorCode MISSING_CONST_FINAL_VAR_OR_TYPE = new ParserError
Code.con3('MISSING_CONST_FINAL_VAR_OR_TYPE', 74, "Variables must be declared usi
ng the keywords 'const', 'final', 'var' or a type name"); | 5749 static final ParserErrorCode MISSING_EXPRESSION_IN_THROW = new ParserErrorCode
.con3('MISSING_EXPRESSION_IN_THROW', 74, "Throw expressions must compute the obj
ect to be thrown"); |
| 5748 static final ParserErrorCode MISSING_EXPRESSION_IN_THROW = new ParserErrorCode
.con3('MISSING_EXPRESSION_IN_THROW', 75, "Throw expressions must compute the obj
ect to be thrown"); | 5750 static final ParserErrorCode MISSING_FUNCTION_BODY = new ParserErrorCode.con3(
'MISSING_FUNCTION_BODY', 75, "A function body must be provided"); |
| 5749 static final ParserErrorCode MISSING_FUNCTION_BODY = new ParserErrorCode.con3(
'MISSING_FUNCTION_BODY', 76, "A function body must be provided"); | 5751 static final ParserErrorCode MISSING_FUNCTION_PARAMETERS = new ParserErrorCode
.con3('MISSING_FUNCTION_PARAMETERS', 76, "Functions must have an explicit list o
f parameters"); |
| 5750 static final ParserErrorCode MISSING_FUNCTION_PARAMETERS = new ParserErrorCode
.con3('MISSING_FUNCTION_PARAMETERS', 77, "Functions must have an explicit list o
f parameters"); | 5752 static final ParserErrorCode MISSING_IDENTIFIER = new ParserErrorCode.con3('MI
SSING_IDENTIFIER', 77, "Expected an identifier"); |
| 5751 static final ParserErrorCode MISSING_IDENTIFIER = new ParserErrorCode.con3('MI
SSING_IDENTIFIER', 78, "Expected an identifier"); | 5753 static final ParserErrorCode MISSING_KEYWORD_OPERATOR = new ParserErrorCode.co
n3('MISSING_KEYWORD_OPERATOR', 78, "Operator declarations must be preceeded by t
he keyword 'operator'"); |
| 5752 static final ParserErrorCode MISSING_KEYWORD_OPERATOR = new ParserErrorCode.co
n3('MISSING_KEYWORD_OPERATOR', 79, "Operator declarations must be preceeded by t
he keyword 'operator'"); | 5754 static final ParserErrorCode MISSING_NAME_IN_LIBRARY_DIRECTIVE = new ParserErr
orCode.con3('MISSING_NAME_IN_LIBRARY_DIRECTIVE', 79, "Library directives must in
clude a library name"); |
| 5753 static final ParserErrorCode MISSING_NAME_IN_LIBRARY_DIRECTIVE = new ParserErr
orCode.con3('MISSING_NAME_IN_LIBRARY_DIRECTIVE', 80, "Library directives must in
clude a library name"); | 5755 static final ParserErrorCode MISSING_NAME_IN_PART_OF_DIRECTIVE = new ParserErr
orCode.con3('MISSING_NAME_IN_PART_OF_DIRECTIVE', 80, "Library directives must in
clude a library name"); |
| 5754 static final ParserErrorCode MISSING_NAME_IN_PART_OF_DIRECTIVE = new ParserErr
orCode.con3('MISSING_NAME_IN_PART_OF_DIRECTIVE', 81, "Library directives must in
clude a library name"); | 5756 static final ParserErrorCode MISSING_STATEMENT = new ParserErrorCode.con3('MIS
SING_STATEMENT', 81, "Expected a statement"); |
| 5755 static final ParserErrorCode MISSING_STATEMENT = new ParserErrorCode.con3('MIS
SING_STATEMENT', 82, "Expected a statement"); | 5757 static final ParserErrorCode MISSING_TERMINATOR_FOR_PARAMETER_GROUP = new Pars
erErrorCode.con3('MISSING_TERMINATOR_FOR_PARAMETER_GROUP', 82, "There is no '%s'
to close the parameter group"); |
| 5756 static final ParserErrorCode MISSING_TERMINATOR_FOR_PARAMETER_GROUP = new Pars
erErrorCode.con3('MISSING_TERMINATOR_FOR_PARAMETER_GROUP', 83, "There is no '%s'
to close the parameter group"); | 5758 static final ParserErrorCode MISSING_TYPEDEF_PARAMETERS = new ParserErrorCode.
con3('MISSING_TYPEDEF_PARAMETERS', 83, "Type aliases for functions must have an
explicit list of parameters"); |
| 5757 static final ParserErrorCode MISSING_TYPEDEF_PARAMETERS = new ParserErrorCode.
con3('MISSING_TYPEDEF_PARAMETERS', 84, "Type aliases for functions must have an
explicit list of parameters"); | 5759 static final ParserErrorCode MISSING_VARIABLE_IN_FOR_EACH = new ParserErrorCod
e.con3('MISSING_VARIABLE_IN_FOR_EACH', 84, "A loop variable must be declared in
a for-each loop before the 'in', but none were found"); |
| 5758 static final ParserErrorCode MISSING_VARIABLE_IN_FOR_EACH = new ParserErrorCod
e.con3('MISSING_VARIABLE_IN_FOR_EACH', 85, "A loop variable must be declared in
a for-each loop before the 'in', but none were found"); | 5760 static final ParserErrorCode MIXED_PARAMETER_GROUPS = new ParserErrorCode.con3
('MIXED_PARAMETER_GROUPS', 85, "Cannot have both positional and named parameters
in a single parameter list"); |
| 5759 static final ParserErrorCode MIXED_PARAMETER_GROUPS = new ParserErrorCode.con3
('MIXED_PARAMETER_GROUPS', 86, "Cannot have both positional and named parameters
in a single parameter list"); | 5761 static final ParserErrorCode MULTIPLE_EXTENDS_CLAUSES = new ParserErrorCode.co
n3('MULTIPLE_EXTENDS_CLAUSES', 86, "Each class definition can have at most one e
xtends clause"); |
| 5760 static final ParserErrorCode MULTIPLE_EXTENDS_CLAUSES = new ParserErrorCode.co
n3('MULTIPLE_EXTENDS_CLAUSES', 87, "Each class definition can have at most one e
xtends clause"); | 5762 static final ParserErrorCode MULTIPLE_IMPLEMENTS_CLAUSES = new ParserErrorCode
.con3('MULTIPLE_IMPLEMENTS_CLAUSES', 87, "Each class definition can have at most
one implements clause"); |
| 5761 static final ParserErrorCode MULTIPLE_IMPLEMENTS_CLAUSES = new ParserErrorCode
.con3('MULTIPLE_IMPLEMENTS_CLAUSES', 88, "Each class definition can have at most
one implements clause"); | 5763 static final ParserErrorCode MULTIPLE_LIBRARY_DIRECTIVES = new ParserErrorCode
.con3('MULTIPLE_LIBRARY_DIRECTIVES', 88, "Only one library directive may be decl
ared in a file"); |
| 5762 static final ParserErrorCode MULTIPLE_LIBRARY_DIRECTIVES = new ParserErrorCode
.con3('MULTIPLE_LIBRARY_DIRECTIVES', 89, "Only one library directive may be decl
ared in a file"); | 5764 static final ParserErrorCode MULTIPLE_NAMED_PARAMETER_GROUPS = new ParserError
Code.con3('MULTIPLE_NAMED_PARAMETER_GROUPS', 89, "Cannot have multiple groups of
named parameters in a single parameter list"); |
| 5763 static final ParserErrorCode MULTIPLE_NAMED_PARAMETER_GROUPS = new ParserError
Code.con3('MULTIPLE_NAMED_PARAMETER_GROUPS', 90, "Cannot have multiple groups of
named parameters in a single parameter list"); | 5765 static final ParserErrorCode MULTIPLE_PART_OF_DIRECTIVES = new ParserErrorCode
.con3('MULTIPLE_PART_OF_DIRECTIVES', 90, "Only one part-of directive may be decl
ared in a file"); |
| 5764 static final ParserErrorCode MULTIPLE_PART_OF_DIRECTIVES = new ParserErrorCode
.con3('MULTIPLE_PART_OF_DIRECTIVES', 91, "Only one part-of directive may be decl
ared in a file"); | 5766 static final ParserErrorCode MULTIPLE_POSITIONAL_PARAMETER_GROUPS = new Parser
ErrorCode.con3('MULTIPLE_POSITIONAL_PARAMETER_GROUPS', 91, "Cannot have multiple
groups of positional parameters in a single parameter list"); |
| 5765 static final ParserErrorCode MULTIPLE_POSITIONAL_PARAMETER_GROUPS = new Parser
ErrorCode.con3('MULTIPLE_POSITIONAL_PARAMETER_GROUPS', 92, "Cannot have multiple
groups of positional parameters in a single parameter list"); | 5767 static final ParserErrorCode MULTIPLE_VARIABLES_IN_FOR_EACH = new ParserErrorC
ode.con3('MULTIPLE_VARIABLES_IN_FOR_EACH', 92, "A single loop variable must be d
eclared in a for-each loop before the 'in', but %s were found"); |
| 5766 static final ParserErrorCode MULTIPLE_VARIABLES_IN_FOR_EACH = new ParserErrorC
ode.con3('MULTIPLE_VARIABLES_IN_FOR_EACH', 93, "A single loop variable must be d
eclared in a for-each loop before the 'in', but %s were found"); | 5768 static final ParserErrorCode MULTIPLE_WITH_CLAUSES = new ParserErrorCode.con3(
'MULTIPLE_WITH_CLAUSES', 93, "Each class definition can have at most one with cl
ause"); |
| 5767 static final ParserErrorCode MULTIPLE_WITH_CLAUSES = new ParserErrorCode.con3(
'MULTIPLE_WITH_CLAUSES', 94, "Each class definition can have at most one with cl
ause"); | 5769 static final ParserErrorCode NAMED_FUNCTION_EXPRESSION = new ParserErrorCode.c
on3('NAMED_FUNCTION_EXPRESSION', 94, "Function expressions cannot be named"); |
| 5768 static final ParserErrorCode NAMED_FUNCTION_EXPRESSION = new ParserErrorCode.c
on3('NAMED_FUNCTION_EXPRESSION', 95, "Function expressions cannot be named"); | 5770 static final ParserErrorCode NAMED_PARAMETER_OUTSIDE_GROUP = new ParserErrorCo
de.con3('NAMED_PARAMETER_OUTSIDE_GROUP', 95, "Named parameters must be enclosed
in curly braces ('{' and '}')"); |
| 5769 static final ParserErrorCode NAMED_PARAMETER_OUTSIDE_GROUP = new ParserErrorCo
de.con3('NAMED_PARAMETER_OUTSIDE_GROUP', 96, "Named parameters must be enclosed
in curly braces ('{' and '}')"); | 5771 static final ParserErrorCode NATIVE_CLAUSE_IN_NON_SDK_CODE = new ParserErrorCo
de.con3('NATIVE_CLAUSE_IN_NON_SDK_CODE', 96, "Native clause can only be used in
the SDK and code that is loaded through native extensions"); |
| 5770 static final ParserErrorCode NATIVE_CLAUSE_IN_NON_SDK_CODE = new ParserErrorCo
de.con3('NATIVE_CLAUSE_IN_NON_SDK_CODE', 97, "Native clause can only be used in
the SDK and code that is loaded through native extensions"); | 5772 static final ParserErrorCode NATIVE_FUNCTION_BODY_IN_NON_SDK_CODE = new Parser
ErrorCode.con3('NATIVE_FUNCTION_BODY_IN_NON_SDK_CODE', 97, "Native functions can
only be declared in the SDK and code that is loaded through native extensions")
; |
| 5771 static final ParserErrorCode NATIVE_FUNCTION_BODY_IN_NON_SDK_CODE = new Parser
ErrorCode.con3('NATIVE_FUNCTION_BODY_IN_NON_SDK_CODE', 98, "Native functions can
only be declared in the SDK and code that is loaded through native extensions")
; | 5773 static final ParserErrorCode NON_CONSTRUCTOR_FACTORY = new ParserErrorCode.con
3('NON_CONSTRUCTOR_FACTORY', 98, "Only constructors can be declared to be a 'fac
tory'"); |
| 5772 static final ParserErrorCode NON_CONSTRUCTOR_FACTORY = new ParserErrorCode.con
3('NON_CONSTRUCTOR_FACTORY', 99, "Only constructors can be declared to be a 'fac
tory'"); | 5774 static final ParserErrorCode NON_IDENTIFIER_LIBRARY_NAME = new ParserErrorCode
.con3('NON_IDENTIFIER_LIBRARY_NAME', 99, "The name of a library must be an ident
ifier"); |
| 5773 static final ParserErrorCode NON_IDENTIFIER_LIBRARY_NAME = new ParserErrorCode
.con3('NON_IDENTIFIER_LIBRARY_NAME', 100, "The name of a library must be an iden
tifier"); | 5775 static final ParserErrorCode NON_PART_OF_DIRECTIVE_IN_PART = new ParserErrorCo
de.con3('NON_PART_OF_DIRECTIVE_IN_PART', 100, "The part-of directive must be the
only directive in a part"); |
| 5774 static final ParserErrorCode NON_PART_OF_DIRECTIVE_IN_PART = new ParserErrorCo
de.con3('NON_PART_OF_DIRECTIVE_IN_PART', 101, "The part-of directive must be the
only directive in a part"); | 5776 static final ParserErrorCode NON_USER_DEFINABLE_OPERATOR = new ParserErrorCode
.con3('NON_USER_DEFINABLE_OPERATOR', 101, "The operator '%s' is not user definab
le"); |
| 5775 static final ParserErrorCode NON_USER_DEFINABLE_OPERATOR = new ParserErrorCode
.con3('NON_USER_DEFINABLE_OPERATOR', 102, "The operator '%s' is not user definab
le"); | 5777 static final ParserErrorCode NORMAL_BEFORE_OPTIONAL_PARAMETERS = new ParserErr
orCode.con3('NORMAL_BEFORE_OPTIONAL_PARAMETERS', 102, "Normal parameters must oc
cur before optional parameters"); |
| 5776 static final ParserErrorCode NORMAL_BEFORE_OPTIONAL_PARAMETERS = new ParserErr
orCode.con3('NORMAL_BEFORE_OPTIONAL_PARAMETERS', 103, "Normal parameters must oc
cur before optional parameters"); | 5778 static final ParserErrorCode POSITIONAL_AFTER_NAMED_ARGUMENT = new ParserError
Code.con3('POSITIONAL_AFTER_NAMED_ARGUMENT', 103, "Positional arguments must occ
ur before named arguments"); |
| 5777 static final ParserErrorCode POSITIONAL_AFTER_NAMED_ARGUMENT = new ParserError
Code.con3('POSITIONAL_AFTER_NAMED_ARGUMENT', 104, "Positional arguments must occ
ur before named arguments"); | 5779 static final ParserErrorCode POSITIONAL_PARAMETER_OUTSIDE_GROUP = new ParserEr
rorCode.con3('POSITIONAL_PARAMETER_OUTSIDE_GROUP', 104, "Positional parameters m
ust be enclosed in square brackets ('[' and ']')"); |
| 5778 static final ParserErrorCode POSITIONAL_PARAMETER_OUTSIDE_GROUP = new ParserEr
rorCode.con3('POSITIONAL_PARAMETER_OUTSIDE_GROUP', 105, "Positional parameters m
ust be enclosed in square brackets ('[' and ']')"); | 5780 static final ParserErrorCode REDIRECTION_IN_NON_FACTORY_CONSTRUCTOR = new Pars
erErrorCode.con3('REDIRECTION_IN_NON_FACTORY_CONSTRUCTOR', 105, "Only factory co
nstructor can specify '=' redirection."); |
| 5779 static final ParserErrorCode REDIRECTION_IN_NON_FACTORY_CONSTRUCTOR = new Pars
erErrorCode.con3('REDIRECTION_IN_NON_FACTORY_CONSTRUCTOR', 106, "Only factory co
nstructor can specify '=' redirection."); | 5781 static final ParserErrorCode SETTER_IN_FUNCTION = new ParserErrorCode.con3('SE
TTER_IN_FUNCTION', 106, "Setters cannot be defined within methods or functions")
; |
| 5780 static final ParserErrorCode SETTER_IN_FUNCTION = new ParserErrorCode.con3('SE
TTER_IN_FUNCTION', 107, "Setters cannot be defined within methods or functions")
; | 5782 static final ParserErrorCode STATIC_AFTER_CONST = new ParserErrorCode.con3('ST
ATIC_AFTER_CONST', 107, "The modifier 'static' should be before the modifier 'co
nst'"); |
| 5781 static final ParserErrorCode STATIC_AFTER_CONST = new ParserErrorCode.con3('ST
ATIC_AFTER_CONST', 108, "The modifier 'static' should be before the modifier 'co
nst'"); | 5783 static final ParserErrorCode STATIC_AFTER_FINAL = new ParserErrorCode.con3('ST
ATIC_AFTER_FINAL', 108, "The modifier 'static' should be before the modifier 'fi
nal'"); |
| 5782 static final ParserErrorCode STATIC_AFTER_FINAL = new ParserErrorCode.con3('ST
ATIC_AFTER_FINAL', 109, "The modifier 'static' should be before the modifier 'fi
nal'"); | 5784 static final ParserErrorCode STATIC_AFTER_VAR = new ParserErrorCode.con3('STAT
IC_AFTER_VAR', 109, "The modifier 'static' should be before the modifier 'var'")
; |
| 5783 static final ParserErrorCode STATIC_AFTER_VAR = new ParserErrorCode.con3('STAT
IC_AFTER_VAR', 110, "The modifier 'static' should be before the modifier 'var'")
; | 5785 static final ParserErrorCode STATIC_CONSTRUCTOR = new ParserErrorCode.con3('ST
ATIC_CONSTRUCTOR', 110, "Constructors cannot be static"); |
| 5784 static final ParserErrorCode STATIC_CONSTRUCTOR = new ParserErrorCode.con3('ST
ATIC_CONSTRUCTOR', 111, "Constructors cannot be static"); | 5786 static final ParserErrorCode STATIC_GETTER_WITHOUT_BODY = new ParserErrorCode.
con3('STATIC_GETTER_WITHOUT_BODY', 111, "A 'static' getter must have a body"); |
| 5785 static final ParserErrorCode STATIC_GETTER_WITHOUT_BODY = new ParserErrorCode.
con3('STATIC_GETTER_WITHOUT_BODY', 112, "A 'static' getter must have a body"); | 5787 static final ParserErrorCode STATIC_OPERATOR = new ParserErrorCode.con3('STATI
C_OPERATOR', 112, "Operators cannot be static"); |
| 5786 static final ParserErrorCode STATIC_OPERATOR = new ParserErrorCode.con3('STATI
C_OPERATOR', 113, "Operators cannot be static"); | 5788 static final ParserErrorCode STATIC_SETTER_WITHOUT_BODY = new ParserErrorCode.
con3('STATIC_SETTER_WITHOUT_BODY', 113, "A 'static' setter must have a body"); |
| 5787 static final ParserErrorCode STATIC_SETTER_WITHOUT_BODY = new ParserErrorCode.
con3('STATIC_SETTER_WITHOUT_BODY', 114, "A 'static' setter must have a body"); | 5789 static final ParserErrorCode STATIC_TOP_LEVEL_DECLARATION = new ParserErrorCod
e.con3('STATIC_TOP_LEVEL_DECLARATION', 114, "Top-level declarations cannot be de
clared to be 'static'"); |
| 5788 static final ParserErrorCode STATIC_TOP_LEVEL_DECLARATION = new ParserErrorCod
e.con3('STATIC_TOP_LEVEL_DECLARATION', 115, "Top-level declarations cannot be de
clared to be 'static'"); | 5790 static final ParserErrorCode SWITCH_HAS_CASE_AFTER_DEFAULT_CASE = new ParserEr
rorCode.con3('SWITCH_HAS_CASE_AFTER_DEFAULT_CASE', 115, "The 'default' case shou
ld be the last case in a switch statement"); |
| 5789 static final ParserErrorCode SWITCH_HAS_CASE_AFTER_DEFAULT_CASE = new ParserEr
rorCode.con3('SWITCH_HAS_CASE_AFTER_DEFAULT_CASE', 116, "The 'default' case shou
ld be the last case in a switch statement"); | 5791 static final ParserErrorCode SWITCH_HAS_MULTIPLE_DEFAULT_CASES = new ParserErr
orCode.con3('SWITCH_HAS_MULTIPLE_DEFAULT_CASES', 116, "The 'default' case can on
ly be declared once"); |
| 5790 static final ParserErrorCode SWITCH_HAS_MULTIPLE_DEFAULT_CASES = new ParserErr
orCode.con3('SWITCH_HAS_MULTIPLE_DEFAULT_CASES', 117, "The 'default' case can on
ly be declared once"); | 5792 static final ParserErrorCode TOP_LEVEL_OPERATOR = new ParserErrorCode.con3('TO
P_LEVEL_OPERATOR', 117, "Operators must be declared within a class"); |
| 5791 static final ParserErrorCode TOP_LEVEL_OPERATOR = new ParserErrorCode.con3('TO
P_LEVEL_OPERATOR', 118, "Operators must be declared within a class"); | 5793 static final ParserErrorCode UNEXPECTED_TERMINATOR_FOR_PARAMETER_GROUP = new P
arserErrorCode.con3('UNEXPECTED_TERMINATOR_FOR_PARAMETER_GROUP', 118, "There is
no '%s' to open a parameter group"); |
| 5792 static final ParserErrorCode UNEXPECTED_TERMINATOR_FOR_PARAMETER_GROUP = new P
arserErrorCode.con3('UNEXPECTED_TERMINATOR_FOR_PARAMETER_GROUP', 119, "There is
no '%s' to open a parameter group"); | 5794 static final ParserErrorCode UNEXPECTED_TOKEN = new ParserErrorCode.con3('UNEX
PECTED_TOKEN', 119, "Unexpected token '%s'"); |
| 5793 static final ParserErrorCode UNEXPECTED_TOKEN = new ParserErrorCode.con3('UNEX
PECTED_TOKEN', 120, "Unexpected token '%s'"); | 5795 static final ParserErrorCode WITH_BEFORE_EXTENDS = new ParserErrorCode.con3('W
ITH_BEFORE_EXTENDS', 120, "The extends clause must be before the with clause"); |
| 5794 static final ParserErrorCode WITH_BEFORE_EXTENDS = new ParserErrorCode.con3('W
ITH_BEFORE_EXTENDS', 121, "The extends clause must be before the with clause"); | 5796 static final ParserErrorCode WITH_WITHOUT_EXTENDS = new ParserErrorCode.con3('
WITH_WITHOUT_EXTENDS', 121, "The with clause cannot be used without an extends c
lause"); |
| 5795 static final ParserErrorCode WITH_WITHOUT_EXTENDS = new ParserErrorCode.con3('
WITH_WITHOUT_EXTENDS', 122, "The with clause cannot be used without an extends c
lause"); | 5797 static final ParserErrorCode WRONG_SEPARATOR_FOR_NAMED_PARAMETER = new ParserE
rrorCode.con3('WRONG_SEPARATOR_FOR_NAMED_PARAMETER', 122, "The default value of
a named parameter should be preceeded by ':'"); |
| 5796 static final ParserErrorCode WRONG_SEPARATOR_FOR_NAMED_PARAMETER = new ParserE
rrorCode.con3('WRONG_SEPARATOR_FOR_NAMED_PARAMETER', 123, "The default value of
a named parameter should be preceeded by ':'"); | 5798 static final ParserErrorCode WRONG_SEPARATOR_FOR_POSITIONAL_PARAMETER = new Pa
rserErrorCode.con3('WRONG_SEPARATOR_FOR_POSITIONAL_PARAMETER', 123, "The default
value of a positional parameter should be preceeded by '='"); |
| 5797 static final ParserErrorCode WRONG_SEPARATOR_FOR_POSITIONAL_PARAMETER = new Pa
rserErrorCode.con3('WRONG_SEPARATOR_FOR_POSITIONAL_PARAMETER', 124, "The default
value of a positional parameter should be preceeded by '='"); | 5799 static final ParserErrorCode WRONG_TERMINATOR_FOR_PARAMETER_GROUP = new Parser
ErrorCode.con3('WRONG_TERMINATOR_FOR_PARAMETER_GROUP', 124, "Expected '%s' to cl
ose parameter group"); |
| 5798 static final ParserErrorCode WRONG_TERMINATOR_FOR_PARAMETER_GROUP = new Parser
ErrorCode.con3('WRONG_TERMINATOR_FOR_PARAMETER_GROUP', 125, "Expected '%s' to cl
ose parameter group"); | 5800 static final ParserErrorCode VAR_AND_TYPE = new ParserErrorCode.con3('VAR_AND_
TYPE', 125, "Variables cannot be declared using both 'var' and a type name; remo
ve the 'var'"); |
| 5799 static final ParserErrorCode VAR_AND_TYPE = new ParserErrorCode.con3('VAR_AND_
TYPE', 126, "Variables cannot be declared using both 'var' and a type name; remo
ve the 'var'"); | 5801 static final ParserErrorCode VAR_AS_TYPE_NAME = new ParserErrorCode.con3('VAR_
AS_TYPE_NAME', 126, "The keyword 'var' cannot be used as a type name"); |
| 5800 static final ParserErrorCode VAR_AS_TYPE_NAME = new ParserErrorCode.con3('VAR_
AS_TYPE_NAME', 127, "The keyword 'var' cannot be used as a type name"); | 5802 static final ParserErrorCode VAR_CLASS = new ParserErrorCode.con3('VAR_CLASS',
127, "Classes cannot be declared to be 'var'"); |
| 5801 static final ParserErrorCode VAR_CLASS = new ParserErrorCode.con3('VAR_CLASS',
128, "Classes cannot be declared to be 'var'"); | 5803 static final ParserErrorCode VAR_RETURN_TYPE = new ParserErrorCode.con3('VAR_R
ETURN_TYPE', 128, "The return type cannot be 'var'"); |
| 5802 static final ParserErrorCode VAR_RETURN_TYPE = new ParserErrorCode.con3('VAR_R
ETURN_TYPE', 129, "The return type cannot be 'var'"); | 5804 static final ParserErrorCode VAR_TYPEDEF = new ParserErrorCode.con3('VAR_TYPED
EF', 129, "Type aliases cannot be declared to be 'var'"); |
| 5803 static final ParserErrorCode VAR_TYPEDEF = new ParserErrorCode.con3('VAR_TYPED
EF', 130, "Type aliases cannot be declared to be 'var'"); | 5805 static final ParserErrorCode VOID_PARAMETER = new ParserErrorCode.con3('VOID_P
ARAMETER', 130, "Parameters cannot have a type of 'void'"); |
| 5804 static final ParserErrorCode VOID_PARAMETER = new ParserErrorCode.con3('VOID_P
ARAMETER', 131, "Parameters cannot have a type of 'void'"); | 5806 static final ParserErrorCode VOID_VARIABLE = new ParserErrorCode.con3('VOID_VA
RIABLE', 131, "Variables cannot have a type of 'void'"); |
| 5805 static final ParserErrorCode VOID_VARIABLE = new ParserErrorCode.con3('VOID_VA
RIABLE', 132, "Variables cannot have a type of 'void'"); | |
| 5806 static final List<ParserErrorCode> values = [ | 5807 static final List<ParserErrorCode> values = [ |
| 5807 ABSTRACT_CLASS_MEMBER, | 5808 ABSTRACT_CLASS_MEMBER, |
| 5808 ABSTRACT_STATIC_METHOD, | 5809 ABSTRACT_STATIC_METHOD, |
| 5809 ABSTRACT_TOP_LEVEL_FUNCTION, | 5810 ABSTRACT_TOP_LEVEL_FUNCTION, |
| 5810 ABSTRACT_TOP_LEVEL_VARIABLE, | 5811 ABSTRACT_TOP_LEVEL_VARIABLE, |
| 5811 ABSTRACT_TYPEDEF, | 5812 ABSTRACT_TYPEDEF, |
| 5812 ASSERT_DOES_NOT_TAKE_ASSIGNMENT, | 5813 ASSERT_DOES_NOT_TAKE_ASSIGNMENT, |
| 5813 ASSERT_DOES_NOT_TAKE_CASCADE, | 5814 ASSERT_DOES_NOT_TAKE_CASCADE, |
| 5814 ASSERT_DOES_NOT_TAKE_THROW, | 5815 ASSERT_DOES_NOT_TAKE_THROW, |
| 5815 ASSERT_DOES_NOT_TAKE_RETHROW, | 5816 ASSERT_DOES_NOT_TAKE_RETHROW, |
| 5816 BREAK_OUTSIDE_OF_LOOP, | 5817 BREAK_OUTSIDE_OF_LOOP, |
| 5817 CONST_AND_FINAL, | 5818 CONST_AND_FINAL, |
| 5818 CONST_AND_VAR, | 5819 CONST_AND_VAR, |
| 5819 CONST_CLASS, | 5820 CONST_CLASS, |
| 5820 CONST_CONSTRUCTOR_WITH_BODY, | 5821 CONST_CONSTRUCTOR_WITH_BODY, |
| 5821 CONST_FACTORY, | 5822 CONST_FACTORY, |
| 5822 CONST_METHOD, | 5823 CONST_METHOD, |
| 5823 CONST_TYPEDEF, | 5824 CONST_TYPEDEF, |
| 5824 CONSTRUCTOR_WITH_RETURN_TYPE, | 5825 CONSTRUCTOR_WITH_RETURN_TYPE, |
| 5825 CONTINUE_OUTSIDE_OF_LOOP, | 5826 CONTINUE_OUTSIDE_OF_LOOP, |
| 5826 CONTINUE_WITHOUT_LABEL_IN_CASE, | 5827 CONTINUE_WITHOUT_LABEL_IN_CASE, |
| 5827 DEPRECATED_ARGUMENT_DEFINITION_TEST, | 5828 DEPRECATED_ARGUMENT_DEFINITION_TEST, |
| 5829 DEPRECATED_CLASS_TYPE_ALIAS, |
| 5828 DIRECTIVE_AFTER_DECLARATION, | 5830 DIRECTIVE_AFTER_DECLARATION, |
| 5829 DUPLICATE_LABEL_IN_SWITCH_STATEMENT, | 5831 DUPLICATE_LABEL_IN_SWITCH_STATEMENT, |
| 5830 DUPLICATED_MODIFIER, | 5832 DUPLICATED_MODIFIER, |
| 5831 EQUALITY_CANNOT_BE_EQUALITY_OPERAND, | 5833 EQUALITY_CANNOT_BE_EQUALITY_OPERAND, |
| 5832 EXPECTED_CASE_OR_DEFAULT, | 5834 EXPECTED_CASE_OR_DEFAULT, |
| 5833 EXPECTED_CLASS_MEMBER, | 5835 EXPECTED_CLASS_MEMBER, |
| 5834 EXPECTED_EXECUTABLE, | 5836 EXPECTED_EXECUTABLE, |
| 5835 EXPECTED_LIST_OR_MAP_LITERAL, | 5837 EXPECTED_LIST_OR_MAP_LITERAL, |
| 5836 EXPECTED_STRING_LITERAL, | 5838 EXPECTED_STRING_LITERAL, |
| 5837 EXPECTED_TOKEN, | 5839 EXPECTED_TOKEN, |
| 5838 EXPECTED_ONE_LIST_TYPE_ARGUMENTS, | |
| 5839 EXPECTED_TWO_MAP_TYPE_ARGUMENTS, | |
| 5840 EXPECTED_TYPE_NAME, | 5840 EXPECTED_TYPE_NAME, |
| 5841 EXPORT_DIRECTIVE_AFTER_PART_DIRECTIVE, | 5841 EXPORT_DIRECTIVE_AFTER_PART_DIRECTIVE, |
| 5842 EXTERNAL_AFTER_CONST, | 5842 EXTERNAL_AFTER_CONST, |
| 5843 EXTERNAL_AFTER_FACTORY, | 5843 EXTERNAL_AFTER_FACTORY, |
| 5844 EXTERNAL_AFTER_STATIC, | 5844 EXTERNAL_AFTER_STATIC, |
| 5845 EXTERNAL_CLASS, | 5845 EXTERNAL_CLASS, |
| 5846 EXTERNAL_CONSTRUCTOR_WITH_BODY, | 5846 EXTERNAL_CONSTRUCTOR_WITH_BODY, |
| 5847 EXTERNAL_FIELD, | 5847 EXTERNAL_FIELD, |
| 5848 EXTERNAL_GETTER_WITH_BODY, | 5848 EXTERNAL_GETTER_WITH_BODY, |
| 5849 EXTERNAL_METHOD_WITH_BODY, | 5849 EXTERNAL_METHOD_WITH_BODY, |
| (...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6932 if ("\n" == separator) { | 6932 if ("\n" == separator) { |
| 6933 _writer.print("\n"); | 6933 _writer.print("\n"); |
| 6934 indent(); | 6934 indent(); |
| 6935 } else if (i > 0) { | 6935 } else if (i > 0) { |
| 6936 _writer.print(separator); | 6936 _writer.print(separator); |
| 6937 } | 6937 } |
| 6938 _writer.print(tokens[i].lexeme); | 6938 _writer.print(tokens[i].lexeme); |
| 6939 } | 6939 } |
| 6940 } | 6940 } |
| 6941 } | 6941 } |
| OLD | NEW |