| 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 | 3 |
| 4 library engine.parser_test; | 4 library engine.parser_test; |
| 5 | 5 |
| 6 import 'dart:collection'; | 6 import 'dart:collection'; |
| 7 import 'package:analyzer_experimental/src/generated/java_core.dart'; | 7 import 'package:analyzer_experimental/src/generated/java_core.dart'; |
| 8 import 'package:analyzer_experimental/src/generated/java_engine.dart'; | 8 import 'package:analyzer_experimental/src/generated/java_engine.dart'; |
| 9 import 'package:analyzer_experimental/src/generated/java_junit.dart'; | 9 import 'package:analyzer_experimental/src/generated/java_junit.dart'; |
| 10 import 'package:analyzer_experimental/src/generated/source.dart'; | 10 import 'package:analyzer_experimental/src/generated/source.dart'; |
| (...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1033 void test_parseCommentAndMetadata_mm() { | 1033 void test_parseCommentAndMetadata_mm() { |
| 1034 CommentAndMetadata commentAndMetadata = ParserTestCase.parse5("parseCommentA
ndMetadata", "@A @B(x) void", []); | 1034 CommentAndMetadata commentAndMetadata = ParserTestCase.parse5("parseCommentA
ndMetadata", "@A @B(x) void", []); |
| 1035 JUnitTestCase.assertNull(commentAndMetadata.comment); | 1035 JUnitTestCase.assertNull(commentAndMetadata.comment); |
| 1036 EngineTestCase.assertSize(2, commentAndMetadata.metadata); | 1036 EngineTestCase.assertSize(2, commentAndMetadata.metadata); |
| 1037 } | 1037 } |
| 1038 void test_parseCommentAndMetadata_none() { | 1038 void test_parseCommentAndMetadata_none() { |
| 1039 CommentAndMetadata commentAndMetadata = ParserTestCase.parse5("parseCommentA
ndMetadata", "void", []); | 1039 CommentAndMetadata commentAndMetadata = ParserTestCase.parse5("parseCommentA
ndMetadata", "void", []); |
| 1040 JUnitTestCase.assertNull(commentAndMetadata.comment); | 1040 JUnitTestCase.assertNull(commentAndMetadata.comment); |
| 1041 EngineTestCase.assertSize(0, commentAndMetadata.metadata); | 1041 EngineTestCase.assertSize(0, commentAndMetadata.metadata); |
| 1042 } | 1042 } |
| 1043 void test_parseCommentAndMetadata_singleLine() { |
| 1044 CommentAndMetadata commentAndMetadata = ParserTestCase.parse5("parseCommentA
ndMetadata", EngineTestCase.createSource(["/// 1", "/// 2", "void"]), []); |
| 1045 JUnitTestCase.assertNotNull(commentAndMetadata.comment); |
| 1046 EngineTestCase.assertSize(0, commentAndMetadata.metadata); |
| 1047 } |
| 1043 void test_parseCommentReference_new_prefixed() { | 1048 void test_parseCommentReference_new_prefixed() { |
| 1044 CommentReference reference = ParserTestCase.parse("parseCommentReference", <
Object> ["new a.b", 7], ""); | 1049 CommentReference reference = ParserTestCase.parse("parseCommentReference", <
Object> ["new a.b", 7], ""); |
| 1045 PrefixedIdentifier prefixedIdentifier = EngineTestCase.assertInstanceOf(Pref
ixedIdentifier, reference.identifier); | 1050 PrefixedIdentifier prefixedIdentifier = EngineTestCase.assertInstanceOf(Pref
ixedIdentifier, reference.identifier); |
| 1046 SimpleIdentifier prefix2 = prefixedIdentifier.prefix; | 1051 SimpleIdentifier prefix2 = prefixedIdentifier.prefix; |
| 1047 JUnitTestCase.assertNotNull(prefix2.token); | 1052 JUnitTestCase.assertNotNull(prefix2.token); |
| 1048 JUnitTestCase.assertEquals("a", prefix2.name); | 1053 JUnitTestCase.assertEquals("a", prefix2.name); |
| 1049 JUnitTestCase.assertEquals(11, prefix2.offset); | 1054 JUnitTestCase.assertEquals(11, prefix2.offset); |
| 1050 JUnitTestCase.assertNotNull(prefixedIdentifier.period); | 1055 JUnitTestCase.assertNotNull(prefixedIdentifier.period); |
| 1051 SimpleIdentifier identifier2 = prefixedIdentifier.identifier; | 1056 SimpleIdentifier identifier2 = prefixedIdentifier.identifier; |
| 1052 JUnitTestCase.assertNotNull(identifier2.token); | 1057 JUnitTestCase.assertNotNull(identifier2.token); |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1103 JUnitTestCase.assertEquals(12, reference.offset); | 1108 JUnitTestCase.assertEquals(12, reference.offset); |
| 1104 reference = references[1]; | 1109 reference = references[1]; |
| 1105 JUnitTestCase.assertNotNull(reference); | 1110 JUnitTestCase.assertNotNull(reference); |
| 1106 JUnitTestCase.assertNotNull(reference.identifier); | 1111 JUnitTestCase.assertNotNull(reference.identifier); |
| 1107 JUnitTestCase.assertEquals(20, reference.offset); | 1112 JUnitTestCase.assertEquals(20, reference.offset); |
| 1108 reference = references[2]; | 1113 reference = references[2]; |
| 1109 JUnitTestCase.assertNotNull(reference); | 1114 JUnitTestCase.assertNotNull(reference); |
| 1110 JUnitTestCase.assertNotNull(reference.identifier); | 1115 JUnitTestCase.assertNotNull(reference.identifier); |
| 1111 JUnitTestCase.assertEquals(35, reference.offset); | 1116 JUnitTestCase.assertEquals(35, reference.offset); |
| 1112 } | 1117 } |
| 1118 void test_parseCommentReferences_skipCodeBlock_bracketed() { |
| 1119 List<Token> tokens = <Token> [new StringToken(TokenType.MULTI_LINE_COMMENT,
"/** [:xxx [a] yyy:] [b] zzz */", 3)]; |
| 1120 List<CommentReference> references = ParserTestCase.parse("parseCommentRefere
nces", <Object> [tokens], ""); |
| 1121 EngineTestCase.assertSize(1, references); |
| 1122 CommentReference reference = references[0]; |
| 1123 JUnitTestCase.assertNotNull(reference); |
| 1124 JUnitTestCase.assertNotNull(reference.identifier); |
| 1125 JUnitTestCase.assertEquals(24, reference.offset); |
| 1126 } |
| 1127 void test_parseCommentReferences_skipCodeBlock_spaces() { |
| 1128 List<Token> tokens = <Token> [new StringToken(TokenType.MULTI_LINE_COMMENT,
"/**\n * a[i]\n * xxx [i] zzz\n */", 3)]; |
| 1129 List<CommentReference> references = ParserTestCase.parse("parseCommentRefere
nces", <Object> [tokens], ""); |
| 1130 EngineTestCase.assertSize(1, references); |
| 1131 CommentReference reference = references[0]; |
| 1132 JUnitTestCase.assertNotNull(reference); |
| 1133 JUnitTestCase.assertNotNull(reference.identifier); |
| 1134 JUnitTestCase.assertEquals(27, reference.offset); |
| 1135 } |
| 1136 void test_parseCommentReferences_skipLinkDefinition() { |
| 1137 List<Token> tokens = <Token> [new StringToken(TokenType.MULTI_LINE_COMMENT,
"/** [a]: http://www.google.com (Google) [b] zzz */", 3)]; |
| 1138 List<CommentReference> references = ParserTestCase.parse("parseCommentRefere
nces", <Object> [tokens], ""); |
| 1139 EngineTestCase.assertSize(1, references); |
| 1140 CommentReference reference = references[0]; |
| 1141 JUnitTestCase.assertNotNull(reference); |
| 1142 JUnitTestCase.assertNotNull(reference.identifier); |
| 1143 JUnitTestCase.assertEquals(44, reference.offset); |
| 1144 } |
| 1145 void test_parseCommentReferences_skipLinked() { |
| 1146 List<Token> tokens = <Token> [new StringToken(TokenType.MULTI_LINE_COMMENT,
"/** [a](http://www.google.com) [b] zzz */", 3)]; |
| 1147 List<CommentReference> references = ParserTestCase.parse("parseCommentRefere
nces", <Object> [tokens], ""); |
| 1148 EngineTestCase.assertSize(1, references); |
| 1149 CommentReference reference = references[0]; |
| 1150 JUnitTestCase.assertNotNull(reference); |
| 1151 JUnitTestCase.assertNotNull(reference.identifier); |
| 1152 JUnitTestCase.assertEquals(35, reference.offset); |
| 1153 } |
| 1154 void test_parseCommentReferences_skipReferenceLink() { |
| 1155 List<Token> tokens = <Token> [new StringToken(TokenType.MULTI_LINE_COMMENT,
"/** [a][c] [b] zzz */", 3)]; |
| 1156 List<CommentReference> references = ParserTestCase.parse("parseCommentRefere
nces", <Object> [tokens], ""); |
| 1157 EngineTestCase.assertSize(1, references); |
| 1158 CommentReference reference = references[0]; |
| 1159 JUnitTestCase.assertNotNull(reference); |
| 1160 JUnitTestCase.assertNotNull(reference.identifier); |
| 1161 JUnitTestCase.assertEquals(15, reference.offset); |
| 1162 } |
| 1113 void test_parseCompilationUnit_abstractAsPrefix_parameterized() { | 1163 void test_parseCompilationUnit_abstractAsPrefix_parameterized() { |
| 1114 CompilationUnit unit = ParserTestCase.parse5("parseCompilationUnit", "abstra
ct<dynamic> _abstract = new abstract.A();", []); | 1164 CompilationUnit unit = ParserTestCase.parse5("parseCompilationUnit", "abstra
ct<dynamic> _abstract = new abstract.A();", []); |
| 1115 JUnitTestCase.assertNull(unit.scriptTag); | 1165 JUnitTestCase.assertNull(unit.scriptTag); |
| 1116 EngineTestCase.assertSize(0, unit.directives); | 1166 EngineTestCase.assertSize(0, unit.directives); |
| 1117 EngineTestCase.assertSize(1, unit.declarations); | 1167 EngineTestCase.assertSize(1, unit.declarations); |
| 1118 } | 1168 } |
| 1119 void test_parseCompilationUnit_directives_multiple() { | 1169 void test_parseCompilationUnit_directives_multiple() { |
| 1120 CompilationUnit unit = ParserTestCase.parse5("parseCompilationUnit", "librar
y l;\npart 'a.dart';", []); | 1170 CompilationUnit unit = ParserTestCase.parse5("parseCompilationUnit", "librar
y l;\npart 'a.dart';", []); |
| 1121 JUnitTestCase.assertNull(unit.scriptTag); | 1171 JUnitTestCase.assertNull(unit.scriptTag); |
| 1122 EngineTestCase.assertSize(2, unit.directives); | 1172 EngineTestCase.assertSize(2, unit.directives); |
| (...skipping 3180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4303 runJUnitTest(__test, __test.test_parseCommentAndMetadata_mcmc); | 4353 runJUnitTest(__test, __test.test_parseCommentAndMetadata_mcmc); |
| 4304 }); | 4354 }); |
| 4305 _ut.test('test_parseCommentAndMetadata_mm', () { | 4355 _ut.test('test_parseCommentAndMetadata_mm', () { |
| 4306 final __test = new SimpleParserTest(); | 4356 final __test = new SimpleParserTest(); |
| 4307 runJUnitTest(__test, __test.test_parseCommentAndMetadata_mm); | 4357 runJUnitTest(__test, __test.test_parseCommentAndMetadata_mm); |
| 4308 }); | 4358 }); |
| 4309 _ut.test('test_parseCommentAndMetadata_none', () { | 4359 _ut.test('test_parseCommentAndMetadata_none', () { |
| 4310 final __test = new SimpleParserTest(); | 4360 final __test = new SimpleParserTest(); |
| 4311 runJUnitTest(__test, __test.test_parseCommentAndMetadata_none); | 4361 runJUnitTest(__test, __test.test_parseCommentAndMetadata_none); |
| 4312 }); | 4362 }); |
| 4363 _ut.test('test_parseCommentAndMetadata_singleLine', () { |
| 4364 final __test = new SimpleParserTest(); |
| 4365 runJUnitTest(__test, __test.test_parseCommentAndMetadata_singleLine); |
| 4366 }); |
| 4313 _ut.test('test_parseCommentReference_new_prefixed', () { | 4367 _ut.test('test_parseCommentReference_new_prefixed', () { |
| 4314 final __test = new SimpleParserTest(); | 4368 final __test = new SimpleParserTest(); |
| 4315 runJUnitTest(__test, __test.test_parseCommentReference_new_prefixed); | 4369 runJUnitTest(__test, __test.test_parseCommentReference_new_prefixed); |
| 4316 }); | 4370 }); |
| 4317 _ut.test('test_parseCommentReference_new_simple', () { | 4371 _ut.test('test_parseCommentReference_new_simple', () { |
| 4318 final __test = new SimpleParserTest(); | 4372 final __test = new SimpleParserTest(); |
| 4319 runJUnitTest(__test, __test.test_parseCommentReference_new_simple); | 4373 runJUnitTest(__test, __test.test_parseCommentReference_new_simple); |
| 4320 }); | 4374 }); |
| 4321 _ut.test('test_parseCommentReference_prefixed', () { | 4375 _ut.test('test_parseCommentReference_prefixed', () { |
| 4322 final __test = new SimpleParserTest(); | 4376 final __test = new SimpleParserTest(); |
| 4323 runJUnitTest(__test, __test.test_parseCommentReference_prefixed); | 4377 runJUnitTest(__test, __test.test_parseCommentReference_prefixed); |
| 4324 }); | 4378 }); |
| 4325 _ut.test('test_parseCommentReference_simple', () { | 4379 _ut.test('test_parseCommentReference_simple', () { |
| 4326 final __test = new SimpleParserTest(); | 4380 final __test = new SimpleParserTest(); |
| 4327 runJUnitTest(__test, __test.test_parseCommentReference_simple); | 4381 runJUnitTest(__test, __test.test_parseCommentReference_simple); |
| 4328 }); | 4382 }); |
| 4329 _ut.test('test_parseCommentReferences_multiLine', () { | 4383 _ut.test('test_parseCommentReferences_multiLine', () { |
| 4330 final __test = new SimpleParserTest(); | 4384 final __test = new SimpleParserTest(); |
| 4331 runJUnitTest(__test, __test.test_parseCommentReferences_multiLine); | 4385 runJUnitTest(__test, __test.test_parseCommentReferences_multiLine); |
| 4332 }); | 4386 }); |
| 4333 _ut.test('test_parseCommentReferences_singleLine', () { | 4387 _ut.test('test_parseCommentReferences_singleLine', () { |
| 4334 final __test = new SimpleParserTest(); | 4388 final __test = new SimpleParserTest(); |
| 4335 runJUnitTest(__test, __test.test_parseCommentReferences_singleLine); | 4389 runJUnitTest(__test, __test.test_parseCommentReferences_singleLine); |
| 4336 }); | 4390 }); |
| 4391 _ut.test('test_parseCommentReferences_skipCodeBlock_bracketed', () { |
| 4392 final __test = new SimpleParserTest(); |
| 4393 runJUnitTest(__test, __test.test_parseCommentReferences_skipCodeBlock_br
acketed); |
| 4394 }); |
| 4395 _ut.test('test_parseCommentReferences_skipCodeBlock_spaces', () { |
| 4396 final __test = new SimpleParserTest(); |
| 4397 runJUnitTest(__test, __test.test_parseCommentReferences_skipCodeBlock_sp
aces); |
| 4398 }); |
| 4399 _ut.test('test_parseCommentReferences_skipLinkDefinition', () { |
| 4400 final __test = new SimpleParserTest(); |
| 4401 runJUnitTest(__test, __test.test_parseCommentReferences_skipLinkDefiniti
on); |
| 4402 }); |
| 4403 _ut.test('test_parseCommentReferences_skipLinked', () { |
| 4404 final __test = new SimpleParserTest(); |
| 4405 runJUnitTest(__test, __test.test_parseCommentReferences_skipLinked); |
| 4406 }); |
| 4407 _ut.test('test_parseCommentReferences_skipReferenceLink', () { |
| 4408 final __test = new SimpleParserTest(); |
| 4409 runJUnitTest(__test, __test.test_parseCommentReferences_skipReferenceLin
k); |
| 4410 }); |
| 4337 _ut.test('test_parseCompilationUnitMember_abstractAsPrefix', () { | 4411 _ut.test('test_parseCompilationUnitMember_abstractAsPrefix', () { |
| 4338 final __test = new SimpleParserTest(); | 4412 final __test = new SimpleParserTest(); |
| 4339 runJUnitTest(__test, __test.test_parseCompilationUnitMember_abstractAsPr
efix); | 4413 runJUnitTest(__test, __test.test_parseCompilationUnitMember_abstractAsPr
efix); |
| 4340 }); | 4414 }); |
| 4341 _ut.test('test_parseCompilationUnitMember_class', () { | 4415 _ut.test('test_parseCompilationUnitMember_class', () { |
| 4342 final __test = new SimpleParserTest(); | 4416 final __test = new SimpleParserTest(); |
| 4343 runJUnitTest(__test, __test.test_parseCompilationUnitMember_class); | 4417 runJUnitTest(__test, __test.test_parseCompilationUnitMember_class); |
| 4344 }); | 4418 }); |
| 4345 _ut.test('test_parseCompilationUnitMember_constVariable', () { | 4419 _ut.test('test_parseCompilationUnitMember_constVariable', () { |
| 4346 final __test = new SimpleParserTest(); | 4420 final __test = new SimpleParserTest(); |
| (...skipping 4117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8464 'parseStatement_1': new MethodTrampoline(1, (Parser target, arg0) => target.pa
rseStatement(arg0)), | 8538 'parseStatement_1': new MethodTrampoline(1, (Parser target, arg0) => target.pa
rseStatement(arg0)), |
| 8465 'parseStatements_1': new MethodTrampoline(1, (Parser target, arg0) => target.p
arseStatements(arg0)), | 8539 'parseStatements_1': new MethodTrampoline(1, (Parser target, arg0) => target.p
arseStatements(arg0)), |
| 8466 'advance_0': new MethodTrampoline(0, (Parser target) => target.advance()), | 8540 'advance_0': new MethodTrampoline(0, (Parser target) => target.advance()), |
| 8467 'appendScalarValue_5': new MethodTrampoline(5, (Parser target, arg0, arg1, arg
2, arg3, arg4) => target.appendScalarValue(arg0, arg1, arg2, arg3, arg4)), | 8541 'appendScalarValue_5': new MethodTrampoline(5, (Parser target, arg0, arg1, arg
2, arg3, arg4) => target.appendScalarValue(arg0, arg1, arg2, arg3, arg4)), |
| 8468 'computeStringValue_1': new MethodTrampoline(1, (Parser target, arg0) => targe
t.computeStringValue(arg0)), | 8542 'computeStringValue_1': new MethodTrampoline(1, (Parser target, arg0) => targe
t.computeStringValue(arg0)), |
| 8469 'createSyntheticIdentifier_0': new MethodTrampoline(0, (Parser target) => targ
et.createSyntheticIdentifier()), | 8543 'createSyntheticIdentifier_0': new MethodTrampoline(0, (Parser target) => targ
et.createSyntheticIdentifier()), |
| 8470 'createSyntheticStringLiteral_0': new MethodTrampoline(0, (Parser target) => t
arget.createSyntheticStringLiteral()), | 8544 'createSyntheticStringLiteral_0': new MethodTrampoline(0, (Parser target) => t
arget.createSyntheticStringLiteral()), |
| 8471 'createSyntheticToken_1': new MethodTrampoline(1, (Parser target, arg0) => tar
get.createSyntheticToken(arg0)), | 8545 'createSyntheticToken_1': new MethodTrampoline(1, (Parser target, arg0) => tar
get.createSyntheticToken(arg0)), |
| 8472 'ensureAssignable_1': new MethodTrampoline(1, (Parser target, arg0) => target.
ensureAssignable(arg0)), | 8546 'ensureAssignable_1': new MethodTrampoline(1, (Parser target, arg0) => target.
ensureAssignable(arg0)), |
| 8473 'expect_1': new MethodTrampoline(1, (Parser target, arg0) => target.expect(arg
0)), | 8547 'expect_1': new MethodTrampoline(1, (Parser target, arg0) => target.expect(arg
0)), |
| 8548 'findRange_2': new MethodTrampoline(2, (Parser target, arg0, arg1) => target.f
indRange(arg0, arg1)), |
| 8549 'getCodeBlockRanges_1': new MethodTrampoline(1, (Parser target, arg0) => targe
t.getCodeBlockRanges(arg0)), |
| 8474 'hasReturnTypeInTypeAlias_0': new MethodTrampoline(0, (Parser target) => targe
t.hasReturnTypeInTypeAlias()), | 8550 'hasReturnTypeInTypeAlias_0': new MethodTrampoline(0, (Parser target) => targe
t.hasReturnTypeInTypeAlias()), |
| 8475 'isFunctionDeclaration_0': new MethodTrampoline(0, (Parser target) => target.i
sFunctionDeclaration()), | 8551 'isFunctionDeclaration_0': new MethodTrampoline(0, (Parser target) => target.i
sFunctionDeclaration()), |
| 8476 'isFunctionExpression_1': new MethodTrampoline(1, (Parser target, arg0) => tar
get.isFunctionExpression(arg0)), | 8552 'isFunctionExpression_1': new MethodTrampoline(1, (Parser target, arg0) => tar
get.isFunctionExpression(arg0)), |
| 8477 'isHexDigit_1': new MethodTrampoline(1, (Parser target, arg0) => target.isHexD
igit(arg0)), | 8553 'isHexDigit_1': new MethodTrampoline(1, (Parser target, arg0) => target.isHexD
igit(arg0)), |
| 8478 'isInitializedVariableDeclaration_0': new MethodTrampoline(0, (Parser target)
=> target.isInitializedVariableDeclaration()), | 8554 'isInitializedVariableDeclaration_0': new MethodTrampoline(0, (Parser target)
=> target.isInitializedVariableDeclaration()), |
| 8555 'isLinkText_2': new MethodTrampoline(2, (Parser target, arg0, arg1) => target.
isLinkText(arg0, arg1)), |
| 8479 'isOperator_1': new MethodTrampoline(1, (Parser target, arg0) => target.isOper
ator(arg0)), | 8556 'isOperator_1': new MethodTrampoline(1, (Parser target, arg0) => target.isOper
ator(arg0)), |
| 8480 'isSwitchMember_0': new MethodTrampoline(0, (Parser target) => target.isSwitch
Member()), | 8557 'isSwitchMember_0': new MethodTrampoline(0, (Parser target) => target.isSwitch
Member()), |
| 8481 'lexicallyFirst_1': new MethodTrampoline(1, (Parser target, arg0) => target.le
xicallyFirst(arg0)), | 8558 'lexicallyFirst_1': new MethodTrampoline(1, (Parser target, arg0) => target.le
xicallyFirst(arg0)), |
| 8482 'matches_1': new MethodTrampoline(1, (Parser target, arg0) => target.matches(a
rg0)), | 8559 'matches_1': new MethodTrampoline(1, (Parser target, arg0) => target.matches(a
rg0)), |
| 8483 'matches_2': new MethodTrampoline(2, (Parser target, arg0, arg1) => target.mat
ches3(arg0, arg1)), | 8560 'matches_2': new MethodTrampoline(2, (Parser target, arg0, arg1) => target.mat
ches3(arg0, arg1)), |
| 8484 'matchesAny_2': new MethodTrampoline(2, (Parser target, arg0, arg1) => target.
matchesAny(arg0, arg1)), | 8561 'matchesAny_2': new MethodTrampoline(2, (Parser target, arg0, arg1) => target.
matchesAny(arg0, arg1)), |
| 8485 'matchesIdentifier_0': new MethodTrampoline(0, (Parser target) => target.match
esIdentifier()), | 8562 'matchesIdentifier_0': new MethodTrampoline(0, (Parser target) => target.match
esIdentifier()), |
| 8486 'matchesIdentifier_1': new MethodTrampoline(1, (Parser target, arg0) => target
.matchesIdentifier2(arg0)), | 8563 'matchesIdentifier_1': new MethodTrampoline(1, (Parser target, arg0) => target
.matchesIdentifier2(arg0)), |
| 8487 'optional_1': new MethodTrampoline(1, (Parser target, arg0) => target.optional
(arg0)), | 8564 'optional_1': new MethodTrampoline(1, (Parser target, arg0) => target.optional
(arg0)), |
| 8488 'parseAdditiveExpression_0': new MethodTrampoline(0, (Parser target) => target
.parseAdditiveExpression()), | 8565 'parseAdditiveExpression_0': new MethodTrampoline(0, (Parser target) => target
.parseAdditiveExpression()), |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8620 'validateModifiersForTopLevelFunction_1': new MethodTrampoline(1, (Parser targ
et, arg0) => target.validateModifiersForTopLevelFunction(arg0)), | 8697 'validateModifiersForTopLevelFunction_1': new MethodTrampoline(1, (Parser targ
et, arg0) => target.validateModifiersForTopLevelFunction(arg0)), |
| 8621 'validateModifiersForTopLevelVariable_1': new MethodTrampoline(1, (Parser targ
et, arg0) => target.validateModifiersForTopLevelVariable(arg0)), | 8698 'validateModifiersForTopLevelVariable_1': new MethodTrampoline(1, (Parser targ
et, arg0) => target.validateModifiersForTopLevelVariable(arg0)), |
| 8622 'validateModifiersForTypedef_1': new MethodTrampoline(1, (Parser target, arg0)
=> target.validateModifiersForTypedef(arg0)),}; | 8699 'validateModifiersForTypedef_1': new MethodTrampoline(1, (Parser target, arg0)
=> target.validateModifiersForTypedef(arg0)),}; |
| 8623 | 8700 |
| 8624 | 8701 |
| 8625 Object invokeParserMethodImpl(Parser parser, String methodName, List<Object> obj
ects, Token tokenStream) { | 8702 Object invokeParserMethodImpl(Parser parser, String methodName, List<Object> obj
ects, Token tokenStream) { |
| 8626 parser.currentToken = tokenStream; | 8703 parser.currentToken = tokenStream; |
| 8627 MethodTrampoline method = _methodTable_Parser['${methodName}_${objects.length}
']; | 8704 MethodTrampoline method = _methodTable_Parser['${methodName}_${objects.length}
']; |
| 8628 return method.invoke(parser, objects); | 8705 return method.invoke(parser, objects); |
| 8629 } | 8706 } |
| OLD | NEW |