| 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.ast_test; | 4 library engine.ast_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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 static CatchClause catchClause5(TypeName exceptionType, String exceptionParame
ter, String stackTraceParameter, List<Statement> statements) => new CatchClause.
full(exceptionType == null ? null : TokenFactory.token4(TokenType.IDENTIFIER, "o
n"), exceptionType, exceptionParameter == null ? null : TokenFactory.token(Keywo
rd.CATCH), exceptionParameter == null ? null : TokenFactory.token3(TokenType.OPE
N_PAREN), identifier3(exceptionParameter), stackTraceParameter == null ? null :
TokenFactory.token3(TokenType.COMMA), stackTraceParameter == null ? null : ident
ifier3(stackTraceParameter), exceptionParameter == null ? null : TokenFactory.to
ken3(TokenType.CLOSE_PAREN), block(statements)); | 223 static CatchClause catchClause5(TypeName exceptionType, String exceptionParame
ter, String stackTraceParameter, List<Statement> statements) => new CatchClause.
full(exceptionType == null ? null : TokenFactory.token4(TokenType.IDENTIFIER, "o
n"), exceptionType, exceptionParameter == null ? null : TokenFactory.token(Keywo
rd.CATCH), exceptionParameter == null ? null : TokenFactory.token3(TokenType.OPE
N_PAREN), identifier3(exceptionParameter), stackTraceParameter == null ? null :
TokenFactory.token3(TokenType.COMMA), stackTraceParameter == null ? null : ident
ifier3(stackTraceParameter), exceptionParameter == null ? null : TokenFactory.to
ken3(TokenType.CLOSE_PAREN), block(statements)); |
| 224 static ClassDeclaration classDeclaration(Keyword abstractKeyword, String name,
TypeParameterList typeParameters, ExtendsClause extendsClause, WithClause withC
lause, ImplementsClause implementsClause, List<ClassMember> members) => new Clas
sDeclaration.full(null, null, abstractKeyword == null ? null : TokenFactory.toke
n(abstractKeyword), TokenFactory.token(Keyword.CLASS), identifier3(name), typePa
rameters, extendsClause, withClause, implementsClause, TokenFactory.token3(Token
Type.OPEN_CURLY_BRACKET), list(members), TokenFactory.token3(TokenType.CLOSE_CUR
LY_BRACKET)); | 224 static ClassDeclaration classDeclaration(Keyword abstractKeyword, String name,
TypeParameterList typeParameters, ExtendsClause extendsClause, WithClause withC
lause, ImplementsClause implementsClause, List<ClassMember> members) => new Clas
sDeclaration.full(null, null, abstractKeyword == null ? null : TokenFactory.toke
n(abstractKeyword), TokenFactory.token(Keyword.CLASS), identifier3(name), typePa
rameters, extendsClause, withClause, implementsClause, TokenFactory.token3(Token
Type.OPEN_CURLY_BRACKET), list(members), TokenFactory.token3(TokenType.CLOSE_CUR
LY_BRACKET)); |
| 225 static ClassTypeAlias classTypeAlias(String name, TypeParameterList typeParame
ters, Keyword abstractKeyword, TypeName superclass, WithClause withClause, Imple
mentsClause implementsClause) => new ClassTypeAlias.full(null, null, TokenFactor
y.token(Keyword.TYPEDEF), identifier3(name), typeParameters, TokenFactory.token3
(TokenType.EQ), abstractKeyword == null ? null : TokenFactory.token(abstractKeyw
ord), superclass, withClause, implementsClause, TokenFactory.token3(TokenType.SE
MICOLON)); | 225 static ClassTypeAlias classTypeAlias(String name, TypeParameterList typeParame
ters, Keyword abstractKeyword, TypeName superclass, WithClause withClause, Imple
mentsClause implementsClause) => new ClassTypeAlias.full(null, null, TokenFactor
y.token(Keyword.TYPEDEF), identifier3(name), typeParameters, TokenFactory.token3
(TokenType.EQ), abstractKeyword == null ? null : TokenFactory.token(abstractKeyw
ord), superclass, withClause, implementsClause, TokenFactory.token3(TokenType.SE
MICOLON)); |
| 226 static CompilationUnit compilationUnit() => compilationUnit8(null, null, null)
; | 226 static CompilationUnit compilationUnit() => compilationUnit8(null, null, null)
; |
| 227 static CompilationUnit compilationUnit2(List<CompilationUnitMember> declaratio
ns) => compilationUnit8(null, null, list(declarations)); | 227 static CompilationUnit compilationUnit2(List<CompilationUnitMember> declaratio
ns) => compilationUnit8(null, null, list(declarations)); |
| 228 static CompilationUnit compilationUnit3(List<Directive> directives) => compila
tionUnit8(null, list(directives), null); | 228 static CompilationUnit compilationUnit3(List<Directive> directives) => compila
tionUnit8(null, list(directives), null); |
| 229 static CompilationUnit compilationUnit4(List<Directive> directives, List<Compi
lationUnitMember> declarations) => compilationUnit8(null, directives, declaratio
ns); | 229 static CompilationUnit compilationUnit4(List<Directive> directives, List<Compi
lationUnitMember> declarations) => compilationUnit8(null, directives, declaratio
ns); |
| 230 static CompilationUnit compilationUnit5(String scriptTag) => compilationUnit8(
scriptTag, null, null); | 230 static CompilationUnit compilationUnit5(String scriptTag) => compilationUnit8(
scriptTag, null, null); |
| 231 static CompilationUnit compilationUnit6(String scriptTag, List<CompilationUnit
Member> declarations) => compilationUnit8(scriptTag, null, list(declarations)); | 231 static CompilationUnit compilationUnit6(String scriptTag, List<CompilationUnit
Member> declarations) => compilationUnit8(scriptTag, null, list(declarations)); |
| 232 static CompilationUnit compilationUnit7(String scriptTag, List<Directive> dire
ctives) => compilationUnit8(scriptTag, list(directives), null); | 232 static CompilationUnit compilationUnit7(String scriptTag, List<Directive> dire
ctives) => compilationUnit8(scriptTag, list(directives), null); |
| 233 static CompilationUnit compilationUnit8(String scriptTag4, List<Directive> dir
ectives, List<CompilationUnitMember> declarations) => new CompilationUnit.full(T
okenFactory.token3(TokenType.EOF), scriptTag4 == null ? null : scriptTag(scriptT
ag4), directives == null ? new List<Directive>() : directives, declarations == n
ull ? new List<CompilationUnitMember>() : declarations, TokenFactory.token3(Toke
nType.EOF)); | 233 static CompilationUnit compilationUnit8(String scriptTag2, List<Directive> dir
ectives, List<CompilationUnitMember> declarations) => new CompilationUnit.full(T
okenFactory.token3(TokenType.EOF), scriptTag2 == null ? null : scriptTag(scriptT
ag2), directives == null ? new List<Directive>() : directives, declarations == n
ull ? new List<CompilationUnitMember>() : declarations, TokenFactory.token3(Toke
nType.EOF)); |
| 234 static ConditionalExpression conditionalExpression(Expression condition, Expre
ssion thenExpression, Expression elseExpression) => new ConditionalExpression.fu
ll(condition, TokenFactory.token3(TokenType.QUESTION), thenExpression, TokenFact
ory.token3(TokenType.COLON), elseExpression); | 234 static ConditionalExpression conditionalExpression(Expression condition, Expre
ssion thenExpression, Expression elseExpression) => new ConditionalExpression.fu
ll(condition, TokenFactory.token3(TokenType.QUESTION), thenExpression, TokenFact
ory.token3(TokenType.COLON), elseExpression); |
| 235 static ConstructorDeclaration constructorDeclaration(Identifier returnType, St
ring name, FormalParameterList parameters, List<ConstructorInitializer> initiali
zers) => new ConstructorDeclaration.full(null, null, TokenFactory.token(Keyword.
EXTERNAL), null, null, returnType, name == null ? null : TokenFactory.token3(Tok
enType.PERIOD), name == null ? null : identifier3(name), parameters, initializer
s == null || initializers.isEmpty ? null : TokenFactory.token3(TokenType.PERIOD)
, initializers == null ? new List<ConstructorInitializer>() : initializers, null
, emptyFunctionBody()); | 235 static ConstructorDeclaration constructorDeclaration(Identifier returnType, St
ring name, FormalParameterList parameters, List<ConstructorInitializer> initiali
zers) => new ConstructorDeclaration.full(null, null, TokenFactory.token(Keyword.
EXTERNAL), null, null, returnType, name == null ? null : TokenFactory.token3(Tok
enType.PERIOD), name == null ? null : identifier3(name), parameters, initializer
s == null || initializers.isEmpty ? null : TokenFactory.token3(TokenType.PERIOD)
, initializers == null ? new List<ConstructorInitializer>() : initializers, null
, emptyFunctionBody()); |
| 236 static ConstructorDeclaration constructorDeclaration2(Keyword constKeyword, Ke
yword factoryKeyword, Identifier returnType, String name, FormalParameterList pa
rameters, List<ConstructorInitializer> initializers, FunctionBody body) => new C
onstructorDeclaration.full(null, null, null, constKeyword == null ? null : Token
Factory.token(constKeyword), factoryKeyword == null ? null : TokenFactory.token(
factoryKeyword), returnType, name == null ? null : TokenFactory.token3(TokenType
.PERIOD), name == null ? null : identifier3(name), parameters, initializers == n
ull || initializers.isEmpty ? null : TokenFactory.token3(TokenType.PERIOD), init
ializers == null ? new List<ConstructorInitializer>() : initializers, null, body
); | 236 static ConstructorDeclaration constructorDeclaration2(Keyword constKeyword, Ke
yword factoryKeyword, Identifier returnType, String name, FormalParameterList pa
rameters, List<ConstructorInitializer> initializers, FunctionBody body) => new C
onstructorDeclaration.full(null, null, null, constKeyword == null ? null : Token
Factory.token(constKeyword), factoryKeyword == null ? null : TokenFactory.token(
factoryKeyword), returnType, name == null ? null : TokenFactory.token3(TokenType
.PERIOD), name == null ? null : identifier3(name), parameters, initializers == n
ull || initializers.isEmpty ? null : TokenFactory.token3(TokenType.PERIOD), init
ializers == null ? new List<ConstructorInitializer>() : initializers, null, body
); |
| 237 static ConstructorFieldInitializer constructorFieldInitializer(bool prefixedWi
thThis, String fieldName, Expression expression) => new ConstructorFieldInitiali
zer.full(prefixedWithThis ? TokenFactory.token(Keyword.THIS) : null, prefixedWit
hThis ? TokenFactory.token3(TokenType.PERIOD) : null, identifier3(fieldName), To
kenFactory.token3(TokenType.EQ), expression); | 237 static ConstructorFieldInitializer constructorFieldInitializer(bool prefixedWi
thThis, String fieldName, Expression expression) => new ConstructorFieldInitiali
zer.full(prefixedWithThis ? TokenFactory.token(Keyword.THIS) : null, prefixedWit
hThis ? TokenFactory.token3(TokenType.PERIOD) : null, identifier3(fieldName), To
kenFactory.token3(TokenType.EQ), expression); |
| 238 static ConstructorName constructorName(TypeName type, String name) => new Cons
tructorName.full(type, name == null ? null : TokenFactory.token3(TokenType.PERIO
D), name == null ? null : identifier3(name)); | 238 static ConstructorName constructorName(TypeName type, String name) => new Cons
tructorName.full(type, name == null ? null : TokenFactory.token3(TokenType.PERIO
D), name == null ? null : identifier3(name)); |
| 239 static ContinueStatement continueStatement() => new ContinueStatement.full(Tok
enFactory.token(Keyword.CONTINUE), null, TokenFactory.token3(TokenType.SEMICOLON
)); | 239 static ContinueStatement continueStatement() => new ContinueStatement.full(Tok
enFactory.token(Keyword.CONTINUE), null, TokenFactory.token3(TokenType.SEMICOLON
)); |
| 240 static ContinueStatement continueStatement2(String label) => new ContinueState
ment.full(TokenFactory.token(Keyword.CONTINUE), identifier3(label), TokenFactory
.token3(TokenType.SEMICOLON)); | 240 static ContinueStatement continueStatement2(String label) => new ContinueState
ment.full(TokenFactory.token(Keyword.CONTINUE), identifier3(label), TokenFactory
.token3(TokenType.SEMICOLON)); |
| 241 static DeclaredIdentifier declaredIdentifier(Keyword keyword, String identifie
r) => declaredIdentifier2(keyword, null, identifier); | 241 static DeclaredIdentifier declaredIdentifier(Keyword keyword, String identifie
r) => declaredIdentifier2(keyword, null, identifier); |
| 242 static DeclaredIdentifier declaredIdentifier2(Keyword keyword, TypeName type,
String identifier) => new DeclaredIdentifier.full(null, null, keyword == null ?
null : TokenFactory.token(keyword), type, identifier3(identifier)); | 242 static DeclaredIdentifier declaredIdentifier2(Keyword keyword, TypeName type,
String identifier) => new DeclaredIdentifier.full(null, null, keyword == null ?
null : TokenFactory.token(keyword), type, identifier3(identifier)); |
| 243 static DeclaredIdentifier declaredIdentifier3(String identifier) => declaredId
entifier2(null, null, identifier); | 243 static DeclaredIdentifier declaredIdentifier3(String identifier) => declaredId
entifier2(null, null, identifier); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 266 static FunctionExpressionInvocation functionExpressionInvocation(Expression fu
nction, List<Expression> arguments) => new FunctionExpressionInvocation.full(fun
ction, argumentList(arguments)); | 266 static FunctionExpressionInvocation functionExpressionInvocation(Expression fu
nction, List<Expression> arguments) => new FunctionExpressionInvocation.full(fun
ction, argumentList(arguments)); |
| 267 static FunctionTypedFormalParameter functionTypedFormalParameter(TypeName retu
rnType, String identifier, List<FormalParameter> parameters) => new FunctionType
dFormalParameter.full(null, null, returnType, identifier3(identifier), formalPar
ameterList(parameters)); | 267 static FunctionTypedFormalParameter functionTypedFormalParameter(TypeName retu
rnType, String identifier, List<FormalParameter> parameters) => new FunctionType
dFormalParameter.full(null, null, returnType, identifier3(identifier), formalPar
ameterList(parameters)); |
| 268 static HideCombinator hideCombinator(List<SimpleIdentifier> identifiers) => ne
w HideCombinator.full(TokenFactory.token2("hide"), list(identifiers)); | 268 static HideCombinator hideCombinator(List<SimpleIdentifier> identifiers) => ne
w HideCombinator.full(TokenFactory.token2("hide"), list(identifiers)); |
| 269 static HideCombinator hideCombinator2(List<String> identifiers) { | 269 static HideCombinator hideCombinator2(List<String> identifiers) { |
| 270 List<SimpleIdentifier> identifierList = new List<SimpleIdentifier>(); | 270 List<SimpleIdentifier> identifierList = new List<SimpleIdentifier>(); |
| 271 for (String identifier in identifiers) { | 271 for (String identifier in identifiers) { |
| 272 identifierList.add(identifier3(identifier)); | 272 identifierList.add(identifier3(identifier)); |
| 273 } | 273 } |
| 274 return new HideCombinator.full(TokenFactory.token2("hide"), identifierList); | 274 return new HideCombinator.full(TokenFactory.token2("hide"), identifierList); |
| 275 } | 275 } |
| 276 static PrefixedIdentifier identifier(SimpleIdentifier prefix, SimpleIdentifier
identifier11) => new PrefixedIdentifier.full(prefix, TokenFactory.token3(TokenT
ype.PERIOD), identifier11); | 276 static PrefixedIdentifier identifier(SimpleIdentifier prefix, SimpleIdentifier
identifier2) => new PrefixedIdentifier.full(prefix, TokenFactory.token3(TokenTy
pe.PERIOD), identifier2); |
| 277 static SimpleIdentifier identifier3(String lexeme) => new SimpleIdentifier.ful
l(TokenFactory.token4(TokenType.IDENTIFIER, lexeme)); | 277 static SimpleIdentifier identifier3(String lexeme) => new SimpleIdentifier.ful
l(TokenFactory.token4(TokenType.IDENTIFIER, lexeme)); |
| 278 static PrefixedIdentifier identifier4(String prefix, SimpleIdentifier identifi
er) => new PrefixedIdentifier.full(identifier3(prefix), TokenFactory.token3(Toke
nType.PERIOD), identifier); | 278 static PrefixedIdentifier identifier4(String prefix, SimpleIdentifier identifi
er) => new PrefixedIdentifier.full(identifier3(prefix), TokenFactory.token3(Toke
nType.PERIOD), identifier); |
| 279 static PrefixedIdentifier identifier5(String prefix, String identifier) => new
PrefixedIdentifier.full(identifier3(prefix), TokenFactory.token3(TokenType.PERI
OD), identifier3(identifier)); | 279 static PrefixedIdentifier identifier5(String prefix, String identifier) => new
PrefixedIdentifier.full(identifier3(prefix), TokenFactory.token3(TokenType.PERI
OD), identifier3(identifier)); |
| 280 static IfStatement ifStatement(Expression condition, Statement thenStatement)
=> ifStatement2(condition, thenStatement, null); | 280 static IfStatement ifStatement(Expression condition, Statement thenStatement)
=> ifStatement2(condition, thenStatement, null); |
| 281 static IfStatement ifStatement2(Expression condition, Statement thenStatement,
Statement elseStatement) => new IfStatement.full(TokenFactory.token(Keyword.IF)
, TokenFactory.token3(TokenType.OPEN_PAREN), condition, TokenFactory.token3(Toke
nType.CLOSE_PAREN), thenStatement, elseStatement == null ? null : TokenFactory.t
oken(Keyword.ELSE), elseStatement); | 281 static IfStatement ifStatement2(Expression condition, Statement thenStatement,
Statement elseStatement) => new IfStatement.full(TokenFactory.token(Keyword.IF)
, TokenFactory.token3(TokenType.OPEN_PAREN), condition, TokenFactory.token3(Toke
nType.CLOSE_PAREN), thenStatement, elseStatement == null ? null : TokenFactory.t
oken(Keyword.ELSE), elseStatement); |
| 282 static ImplementsClause implementsClause(List<TypeName> types) => new Implemen
tsClause.full(TokenFactory.token(Keyword.IMPLEMENTS), list(types)); | 282 static ImplementsClause implementsClause(List<TypeName> types) => new Implemen
tsClause.full(TokenFactory.token(Keyword.IMPLEMENTS), list(types)); |
| 283 static ImportDirective importDirective(List<Annotation> metadata, String uri,
String prefix, List<Combinator> combinators) => new ImportDirective.full(null, m
etadata, TokenFactory.token(Keyword.IMPORT), string2(uri), prefix == null ? null
: TokenFactory.token(Keyword.AS), prefix == null ? null : identifier3(prefix),
list(combinators), TokenFactory.token3(TokenType.SEMICOLON)); | 283 static ImportDirective importDirective(List<Annotation> metadata, String uri,
String prefix, List<Combinator> combinators) => new ImportDirective.full(null, m
etadata, TokenFactory.token(Keyword.IMPORT), string2(uri), prefix == null ? null
: TokenFactory.token(Keyword.AS), prefix == null ? null : identifier3(prefix),
list(combinators), TokenFactory.token3(TokenType.SEMICOLON)); |
| 284 static ImportDirective importDirective2(String uri, String prefix, List<Combin
ator> combinators) => importDirective(new List<Annotation>(), uri, prefix, combi
nators); | 284 static ImportDirective importDirective2(String uri, String prefix, List<Combin
ator> combinators) => importDirective(new List<Annotation>(), uri, prefix, combi
nators); |
| 285 static IndexExpression indexExpression(Expression array, Expression index) =>
new IndexExpression.forTarget_full(array, TokenFactory.token3(TokenType.OPEN_SQU
ARE_BRACKET), index, TokenFactory.token3(TokenType.CLOSE_SQUARE_BRACKET)); | 285 static IndexExpression indexExpression(Expression array, Expression index) =>
new IndexExpression.forTarget_full(array, TokenFactory.token3(TokenType.OPEN_SQU
ARE_BRACKET), index, TokenFactory.token3(TokenType.CLOSE_SQUARE_BRACKET)); |
| 286 static InstanceCreationExpression instanceCreationExpression(Keyword keyword,
ConstructorName name, List<Expression> arguments) => new InstanceCreationExpress
ion.full(keyword == null ? null : TokenFactory.token(keyword), name, argumentLis
t(arguments)); | 286 static InstanceCreationExpression instanceCreationExpression(Keyword keyword,
ConstructorName name, List<Expression> arguments) => new InstanceCreationExpress
ion.full(keyword == null ? null : TokenFactory.token(keyword), name, argumentLis
t(arguments)); |
| 287 static InstanceCreationExpression instanceCreationExpression2(Keyword keyword,
TypeName type, List<Expression> arguments) => instanceCreationExpression3(keywo
rd, type, null, arguments); | 287 static InstanceCreationExpression instanceCreationExpression2(Keyword keyword,
TypeName type, List<Expression> arguments) => instanceCreationExpression3(keywo
rd, type, null, arguments); |
| 288 static InstanceCreationExpression instanceCreationExpression3(Keyword keyword,
TypeName type, String identifier, List<Expression> arguments) => instanceCreati
onExpression(keyword, new ConstructorName.full(type, identifier == null ? null :
TokenFactory.token3(TokenType.PERIOD), identifier == null ? null : identifier3(
identifier)), arguments); | 288 static InstanceCreationExpression instanceCreationExpression3(Keyword keyword,
TypeName type, String identifier, List<Expression> arguments) => instanceCreati
onExpression(keyword, new ConstructorName.full(type, identifier == null ? null :
TokenFactory.token3(TokenType.PERIOD), identifier == null ? null : identifier3(
identifier)), arguments); |
| 289 static IntegerLiteral integer(int value) => new IntegerLiteral.full(TokenFacto
ry.token4(TokenType.INT, value.toString()), value); | 289 static IntegerLiteral integer(int value) => new IntegerLiteral.full(TokenFacto
ry.token4(TokenType.INT, value.toString()), value); |
| 290 static InterpolationExpression interpolationExpression(Expression expression)
=> new InterpolationExpression.full(TokenFactory.token3(TokenType.STRING_INTERPO
LATION_EXPRESSION), expression, TokenFactory.token3(TokenType.CLOSE_CURLY_BRACKE
T)); | 290 static InterpolationExpression interpolationExpression(Expression expression)
=> new InterpolationExpression.full(TokenFactory.token3(TokenType.STRING_INTERPO
LATION_EXPRESSION), expression, TokenFactory.token3(TokenType.CLOSE_CURLY_BRACKE
T)); |
| 291 static InterpolationExpression interpolationExpression2(String identifier) =>
new InterpolationExpression.full(TokenFactory.token3(TokenType.STRING_INTERPOLAT
ION_IDENTIFIER), identifier3(identifier), null); | 291 static InterpolationExpression interpolationExpression2(String identifier) =>
new InterpolationExpression.full(TokenFactory.token3(TokenType.STRING_INTERPOLAT
ION_IDENTIFIER), identifier3(identifier), null); |
| 292 static InterpolationString interpolationString(String contents, String value)
=> new InterpolationString.full(TokenFactory.token2(contents), value); | 292 static InterpolationString interpolationString(String contents, String value)
=> new InterpolationString.full(TokenFactory.token2(contents), value); |
| 293 static IsExpression isExpression(Expression expression, bool negated, TypeName
type) => new IsExpression.full(expression, TokenFactory.token(Keyword.IS), nega
ted ? TokenFactory.token3(TokenType.BANG) : null, type); | 293 static IsExpression isExpression(Expression expression, bool negated, TypeName
type) => new IsExpression.full(expression, TokenFactory.token(Keyword.IS), nega
ted ? TokenFactory.token3(TokenType.BANG) : null, type); |
| 294 static Label label(SimpleIdentifier label5) => new Label.full(label5, TokenFac
tory.token3(TokenType.COLON)); | 294 static Label label(SimpleIdentifier label2) => new Label.full(label2, TokenFac
tory.token3(TokenType.COLON)); |
| 295 static Label label2(String label6) => label(identifier3(label6)); | 295 static Label label2(String label22) => label(identifier3(label22)); |
| 296 static LabeledStatement labeledStatement(List<Label> labels, Statement stateme
nt) => new LabeledStatement.full(labels, statement); | 296 static LabeledStatement labeledStatement(List<Label> labels, Statement stateme
nt) => new LabeledStatement.full(labels, statement); |
| 297 static LibraryDirective libraryDirective(List<Annotation> metadata, LibraryIde
ntifier libraryName) => new LibraryDirective.full(null, metadata, TokenFactory.t
oken(Keyword.LIBRARY), libraryName, TokenFactory.token3(TokenType.SEMICOLON)); | 297 static LibraryDirective libraryDirective(List<Annotation> metadata, LibraryIde
ntifier libraryName) => new LibraryDirective.full(null, metadata, TokenFactory.t
oken(Keyword.LIBRARY), libraryName, TokenFactory.token3(TokenType.SEMICOLON)); |
| 298 static LibraryDirective libraryDirective2(String libraryName) => libraryDirect
ive(new List<Annotation>(), libraryIdentifier2([libraryName])); | 298 static LibraryDirective libraryDirective2(String libraryName) => libraryDirect
ive(new List<Annotation>(), libraryIdentifier2([libraryName])); |
| 299 static LibraryIdentifier libraryIdentifier(List<SimpleIdentifier> components)
=> new LibraryIdentifier.full(list(components)); | 299 static LibraryIdentifier libraryIdentifier(List<SimpleIdentifier> components)
=> new LibraryIdentifier.full(list(components)); |
| 300 static LibraryIdentifier libraryIdentifier2(List<String> components) { | 300 static LibraryIdentifier libraryIdentifier2(List<String> components) { |
| 301 List<SimpleIdentifier> componentList = new List<SimpleIdentifier>(); | 301 List<SimpleIdentifier> componentList = new List<SimpleIdentifier>(); |
| 302 for (String component in components) { | 302 for (String component in components) { |
| 303 componentList.add(identifier3(component)); | 303 componentList.add(identifier3(component)); |
| 304 } | 304 } |
| 305 return new LibraryIdentifier.full(componentList); | 305 return new LibraryIdentifier.full(componentList); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 332 static PartOfDirective partOfDirective2(List<Annotation> metadata, LibraryIden
tifier libraryName) => new PartOfDirective.full(null, metadata, TokenFactory.tok
en(Keyword.PART), TokenFactory.token2("of"), libraryName, TokenFactory.token3(To
kenType.SEMICOLON)); | 332 static PartOfDirective partOfDirective2(List<Annotation> metadata, LibraryIden
tifier libraryName) => new PartOfDirective.full(null, metadata, TokenFactory.tok
en(Keyword.PART), TokenFactory.token2("of"), libraryName, TokenFactory.token3(To
kenType.SEMICOLON)); |
| 333 static DefaultFormalParameter positionalFormalParameter(NormalFormalParameter
parameter, Expression expression) => new DefaultFormalParameter.full(parameter,
ParameterKind.POSITIONAL, expression == null ? null : TokenFactory.token3(TokenT
ype.EQ), expression); | 333 static DefaultFormalParameter positionalFormalParameter(NormalFormalParameter
parameter, Expression expression) => new DefaultFormalParameter.full(parameter,
ParameterKind.POSITIONAL, expression == null ? null : TokenFactory.token3(TokenT
ype.EQ), expression); |
| 334 static PostfixExpression postfixExpression(Expression expression, TokenType op
erator) => new PostfixExpression.full(expression, TokenFactory.token3(operator))
; | 334 static PostfixExpression postfixExpression(Expression expression, TokenType op
erator) => new PostfixExpression.full(expression, TokenFactory.token3(operator))
; |
| 335 static PrefixExpression prefixExpression(TokenType operator, Expression expres
sion) => new PrefixExpression.full(TokenFactory.token3(operator), expression); | 335 static PrefixExpression prefixExpression(TokenType operator, Expression expres
sion) => new PrefixExpression.full(TokenFactory.token3(operator), expression); |
| 336 static PropertyAccess propertyAccess(Expression target, SimpleIdentifier prope
rtyName) => new PropertyAccess.full(target, TokenFactory.token3(TokenType.PERIOD
), propertyName); | 336 static PropertyAccess propertyAccess(Expression target, SimpleIdentifier prope
rtyName) => new PropertyAccess.full(target, TokenFactory.token3(TokenType.PERIOD
), propertyName); |
| 337 static PropertyAccess propertyAccess2(Expression target, String propertyName)
=> new PropertyAccess.full(target, TokenFactory.token3(TokenType.PERIOD), identi
fier3(propertyName)); | 337 static PropertyAccess propertyAccess2(Expression target, String propertyName)
=> new PropertyAccess.full(target, TokenFactory.token3(TokenType.PERIOD), identi
fier3(propertyName)); |
| 338 static RedirectingConstructorInvocation redirectingConstructorInvocation(List<
Expression> arguments) => redirectingConstructorInvocation2(null, arguments); | 338 static RedirectingConstructorInvocation redirectingConstructorInvocation(List<
Expression> arguments) => redirectingConstructorInvocation2(null, arguments); |
| 339 static RedirectingConstructorInvocation redirectingConstructorInvocation2(Stri
ng constructorName, List<Expression> arguments) => new RedirectingConstructorInv
ocation.full(TokenFactory.token(Keyword.THIS), constructorName == null ? null :
TokenFactory.token3(TokenType.PERIOD), constructorName == null ? null : identifi
er3(constructorName), argumentList(arguments)); | 339 static RedirectingConstructorInvocation redirectingConstructorInvocation2(Stri
ng constructorName, List<Expression> arguments) => new RedirectingConstructorInv
ocation.full(TokenFactory.token(Keyword.THIS), constructorName == null ? null :
TokenFactory.token3(TokenType.PERIOD), constructorName == null ? null : identifi
er3(constructorName), argumentList(arguments)); |
| 340 static ReturnStatement returnStatement() => returnStatement2(null); | 340 static ReturnStatement returnStatement() => returnStatement2(null); |
| 341 static ReturnStatement returnStatement2(Expression expression) => new ReturnSt
atement.full(TokenFactory.token(Keyword.RETURN), expression, TokenFactory.token3
(TokenType.SEMICOLON)); | 341 static ReturnStatement returnStatement2(Expression expression) => new ReturnSt
atement.full(TokenFactory.token(Keyword.RETURN), expression, TokenFactory.token3
(TokenType.SEMICOLON)); |
| 342 static ScriptTag scriptTag(String scriptTag5) => new ScriptTag.full(TokenFacto
ry.token2(scriptTag5)); | 342 static ScriptTag scriptTag(String scriptTag2) => new ScriptTag.full(TokenFacto
ry.token2(scriptTag2)); |
| 343 static ShowCombinator showCombinator(List<SimpleIdentifier> identifiers) => ne
w ShowCombinator.full(TokenFactory.token2("show"), list(identifiers)); | 343 static ShowCombinator showCombinator(List<SimpleIdentifier> identifiers) => ne
w ShowCombinator.full(TokenFactory.token2("show"), list(identifiers)); |
| 344 static ShowCombinator showCombinator2(List<String> identifiers) { | 344 static ShowCombinator showCombinator2(List<String> identifiers) { |
| 345 List<SimpleIdentifier> identifierList = new List<SimpleIdentifier>(); | 345 List<SimpleIdentifier> identifierList = new List<SimpleIdentifier>(); |
| 346 for (String identifier in identifiers) { | 346 for (String identifier in identifiers) { |
| 347 identifierList.add(identifier3(identifier)); | 347 identifierList.add(identifier3(identifier)); |
| 348 } | 348 } |
| 349 return new ShowCombinator.full(TokenFactory.token2("show"), identifierList); | 349 return new ShowCombinator.full(TokenFactory.token2("show"), identifierList); |
| 350 } | 350 } |
| 351 static SimpleFormalParameter simpleFormalParameter(Keyword keyword, String par
ameterName) => simpleFormalParameter2(keyword, null, parameterName); | 351 static SimpleFormalParameter simpleFormalParameter(Keyword keyword, String par
ameterName) => simpleFormalParameter2(keyword, null, parameterName); |
| 352 static SimpleFormalParameter simpleFormalParameter2(Keyword keyword, TypeName
type, String parameterName) => new SimpleFormalParameter.full(null, null, keywor
d == null ? null : TokenFactory.token(keyword), type, identifier3(parameterName)
); | 352 static SimpleFormalParameter simpleFormalParameter2(Keyword keyword, TypeName
type, String parameterName) => new SimpleFormalParameter.full(null, null, keywor
d == null ? null : TokenFactory.token(keyword), type, identifier3(parameterName)
); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 373 static FunctionTypeAlias typeAlias(TypeName returnType, String name, TypeParam
eterList typeParameters, FormalParameterList parameters) => new FunctionTypeAlia
s.full(null, null, TokenFactory.token(Keyword.TYPEDEF), returnType, identifier3(
name), typeParameters, parameters, TokenFactory.token3(TokenType.SEMICOLON)); | 373 static FunctionTypeAlias typeAlias(TypeName returnType, String name, TypeParam
eterList typeParameters, FormalParameterList parameters) => new FunctionTypeAlia
s.full(null, null, TokenFactory.token(Keyword.TYPEDEF), returnType, identifier3(
name), typeParameters, parameters, TokenFactory.token3(TokenType.SEMICOLON)); |
| 374 static TypeArgumentList typeArgumentList(List<TypeName> typeNames) => new Type
ArgumentList.full(TokenFactory.token3(TokenType.LT), list(typeNames), TokenFacto
ry.token3(TokenType.GT)); | 374 static TypeArgumentList typeArgumentList(List<TypeName> typeNames) => new Type
ArgumentList.full(TokenFactory.token3(TokenType.LT), list(typeNames), TokenFacto
ry.token3(TokenType.GT)); |
| 375 /** | 375 /** |
| 376 * Create a type name whose name has been resolved to the given element and wh
ose type has been | 376 * Create a type name whose name has been resolved to the given element and wh
ose type has been |
| 377 * resolved to the type of the given element. | 377 * resolved to the type of the given element. |
| 378 * <p> | 378 * <p> |
| 379 * <b>Note:</b> This method does not correctly handle class elements that have
type parameters. | 379 * <b>Note:</b> This method does not correctly handle class elements that have
type parameters. |
| 380 * @param element the element defining the type represented by the type name | 380 * @param element the element defining the type represented by the type name |
| 381 * @return the type name that was created | 381 * @return the type name that was created |
| 382 */ | 382 */ |
| 383 static TypeName typeName(ClassElement element70, List<TypeName> arguments) { | 383 static TypeName typeName(ClassElement element2, List<TypeName> arguments) { |
| 384 SimpleIdentifier name25 = identifier3(element70.name); | 384 SimpleIdentifier name2 = identifier3(element2.name); |
| 385 name25.element = element70; | 385 name2.element = element2; |
| 386 TypeName typeName = typeName3(name25, arguments); | 386 TypeName typeName = typeName3(name2, arguments); |
| 387 typeName.type = element70.type; | 387 typeName.type = element2.type; |
| 388 return typeName; | 388 return typeName; |
| 389 } | 389 } |
| 390 static TypeName typeName3(Identifier name, List<TypeName> arguments) { | 390 static TypeName typeName3(Identifier name, List<TypeName> arguments) { |
| 391 if (arguments.length == 0) { | 391 if (arguments.length == 0) { |
| 392 return new TypeName.full(name, null); | 392 return new TypeName.full(name, null); |
| 393 } | 393 } |
| 394 return new TypeName.full(name, typeArgumentList(arguments)); | 394 return new TypeName.full(name, typeArgumentList(arguments)); |
| 395 } | 395 } |
| 396 static TypeName typeName4(String name, List<TypeName> arguments) { | 396 static TypeName typeName4(String name, List<TypeName> arguments) { |
| 397 if (arguments.length == 0) { | 397 if (arguments.length == 0) { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 417 static WhileStatement whileStatement(Expression condition, Statement body) =>
new WhileStatement.full(TokenFactory.token(Keyword.WHILE), TokenFactory.token3(T
okenType.OPEN_PAREN), condition, TokenFactory.token3(TokenType.CLOSE_PAREN), bod
y); | 417 static WhileStatement whileStatement(Expression condition, Statement body) =>
new WhileStatement.full(TokenFactory.token(Keyword.WHILE), TokenFactory.token3(T
okenType.OPEN_PAREN), condition, TokenFactory.token3(TokenType.CLOSE_PAREN), bod
y); |
| 418 static WithClause withClause(List<TypeName> types) => new WithClause.full(Toke
nFactory.token(Keyword.WITH), list(types)); | 418 static WithClause withClause(List<TypeName> types) => new WithClause.full(Toke
nFactory.token(Keyword.WITH), list(types)); |
| 419 /** | 419 /** |
| 420 * Prevent the creation of instances of this class. | 420 * Prevent the creation of instances of this class. |
| 421 */ | 421 */ |
| 422 ASTFactory() { | 422 ASTFactory() { |
| 423 } | 423 } |
| 424 } | 424 } |
| 425 class SimpleIdentifierTest extends ParserTestCase { | 425 class SimpleIdentifierTest extends ParserTestCase { |
| 426 void test_inDeclarationContext_argumentDefinition() { | 426 void test_inDeclarationContext_argumentDefinition() { |
| 427 SimpleIdentifier identifier16 = ASTFactory.argumentDefinitionTest("p").ident
ifier; | 427 SimpleIdentifier identifier2 = ASTFactory.argumentDefinitionTest("p").identi
fier; |
| 428 JUnitTestCase.assertFalse(identifier16.inDeclarationContext()); | 428 JUnitTestCase.assertFalse(identifier2.inDeclarationContext()); |
| 429 } | 429 } |
| 430 void test_inDeclarationContext_catch_exception() { | 430 void test_inDeclarationContext_catch_exception() { |
| 431 SimpleIdentifier identifier = ASTFactory.catchClause("e", []).exceptionParam
eter; | 431 SimpleIdentifier identifier = ASTFactory.catchClause("e", []).exceptionParam
eter; |
| 432 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); | 432 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); |
| 433 } | 433 } |
| 434 void test_inDeclarationContext_catch_stack() { | 434 void test_inDeclarationContext_catch_stack() { |
| 435 SimpleIdentifier identifier = ASTFactory.catchClause2("e", "s", []).stackTra
ceParameter; | 435 SimpleIdentifier identifier = ASTFactory.catchClause2("e", "s", []).stackTra
ceParameter; |
| 436 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); | 436 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); |
| 437 } | 437 } |
| 438 void test_inDeclarationContext_classDeclaration() { | 438 void test_inDeclarationContext_classDeclaration() { |
| 439 SimpleIdentifier identifier = ASTFactory.classDeclaration(null, "C", null, n
ull, null, null, []).name; | 439 SimpleIdentifier identifier = ASTFactory.classDeclaration(null, "C", null, n
ull, null, null, []).name; |
| 440 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); | 440 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); |
| 441 } | 441 } |
| 442 void test_inDeclarationContext_classTypeAlias() { | 442 void test_inDeclarationContext_classTypeAlias() { |
| 443 SimpleIdentifier identifier = ASTFactory.classTypeAlias("C", null, null, nul
l, null, null).name; | 443 SimpleIdentifier identifier = ASTFactory.classTypeAlias("C", null, null, nul
l, null, null).name; |
| 444 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); | 444 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); |
| 445 } | 445 } |
| 446 void test_inDeclarationContext_constructorDeclaration() { | 446 void test_inDeclarationContext_constructorDeclaration() { |
| 447 SimpleIdentifier identifier = ASTFactory.constructorDeclaration(ASTFactory.i
dentifier3("C"), "c", null, null).name; | 447 SimpleIdentifier identifier = ASTFactory.constructorDeclaration(ASTFactory.i
dentifier3("C"), "c", null, null).name; |
| 448 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); | 448 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); |
| 449 } | 449 } |
| 450 void test_inDeclarationContext_fieldFormalParameter() { | 450 void test_inDeclarationContext_fieldFormalParameter() { |
| 451 SimpleIdentifier identifier17 = ASTFactory.fieldFormalParameter2("p").identi
fier; | 451 SimpleIdentifier identifier2 = ASTFactory.fieldFormalParameter2("p").identif
ier; |
| 452 JUnitTestCase.assertFalse(identifier17.inDeclarationContext()); | 452 JUnitTestCase.assertFalse(identifier2.inDeclarationContext()); |
| 453 } | 453 } |
| 454 void test_inDeclarationContext_functionDeclaration() { | 454 void test_inDeclarationContext_functionDeclaration() { |
| 455 SimpleIdentifier identifier = ASTFactory.functionDeclaration(null, null, "f"
, null).name; | 455 SimpleIdentifier identifier = ASTFactory.functionDeclaration(null, null, "f"
, null).name; |
| 456 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); | 456 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); |
| 457 } | 457 } |
| 458 void test_inDeclarationContext_functionTypeAlias() { | 458 void test_inDeclarationContext_functionTypeAlias() { |
| 459 SimpleIdentifier identifier = ASTFactory.typeAlias(null, "F", null, null).na
me; | 459 SimpleIdentifier identifier = ASTFactory.typeAlias(null, "F", null, null).na
me; |
| 460 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); | 460 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); |
| 461 } | 461 } |
| 462 void test_inDeclarationContext_label_false() { | 462 void test_inDeclarationContext_label_false() { |
| 463 SimpleIdentifier identifier = ASTFactory.namedExpression2("l", ASTFactory.in
teger(0)).name.label; | 463 SimpleIdentifier identifier = ASTFactory.namedExpression2("l", ASTFactory.in
teger(0)).name.label; |
| 464 JUnitTestCase.assertFalse(identifier.inDeclarationContext()); | 464 JUnitTestCase.assertFalse(identifier.inDeclarationContext()); |
| 465 } | 465 } |
| 466 void test_inDeclarationContext_label_true() { | 466 void test_inDeclarationContext_label_true() { |
| 467 Label label = ASTFactory.label2("l"); | 467 Label label = ASTFactory.label2("l"); |
| 468 SimpleIdentifier identifier = label.label; | 468 SimpleIdentifier identifier = label.label; |
| 469 ASTFactory.labeledStatement(ASTFactory.list([label]), ASTFactory.emptyStatem
ent()); | 469 ASTFactory.labeledStatement(ASTFactory.list([label]), ASTFactory.emptyStatem
ent()); |
| 470 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); | 470 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); |
| 471 } | 471 } |
| 472 void test_inDeclarationContext_methodDeclaration() { | 472 void test_inDeclarationContext_methodDeclaration() { |
| 473 SimpleIdentifier identifier = ASTFactory.identifier3("m"); | 473 SimpleIdentifier identifier = ASTFactory.identifier3("m"); |
| 474 ASTFactory.methodDeclaration2(null, null, null, null, identifier, null, null
); | 474 ASTFactory.methodDeclaration2(null, null, null, null, identifier, null, null
); |
| 475 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); | 475 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); |
| 476 } | 476 } |
| 477 void test_inDeclarationContext_simpleFormalParameter() { | 477 void test_inDeclarationContext_simpleFormalParameter() { |
| 478 SimpleIdentifier identifier18 = ASTFactory.simpleFormalParameter3("p").ident
ifier; | 478 SimpleIdentifier identifier2 = ASTFactory.simpleFormalParameter3("p").identi
fier; |
| 479 JUnitTestCase.assertTrue(identifier18.inDeclarationContext()); | 479 JUnitTestCase.assertTrue(identifier2.inDeclarationContext()); |
| 480 } | 480 } |
| 481 void test_inDeclarationContext_typeParameter_bound() { | 481 void test_inDeclarationContext_typeParameter_bound() { |
| 482 TypeName bound = ASTFactory.typeName4("A", []); | 482 TypeName bound = ASTFactory.typeName4("A", []); |
| 483 SimpleIdentifier identifier = bound.name as SimpleIdentifier; | 483 SimpleIdentifier identifier = bound.name as SimpleIdentifier; |
| 484 ASTFactory.typeParameter2("E", bound); | 484 ASTFactory.typeParameter2("E", bound); |
| 485 JUnitTestCase.assertFalse(identifier.inDeclarationContext()); | 485 JUnitTestCase.assertFalse(identifier.inDeclarationContext()); |
| 486 } | 486 } |
| 487 void test_inDeclarationContext_typeParameter_name() { | 487 void test_inDeclarationContext_typeParameter_name() { |
| 488 SimpleIdentifier identifier = ASTFactory.typeParameter("E").name; | 488 SimpleIdentifier identifier = ASTFactory.typeParameter("E").name; |
| 489 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); | 489 JUnitTestCase.assertTrue(identifier.inDeclarationContext()); |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 } | 569 } |
| 570 return identifier; | 570 return identifier; |
| 571 } | 571 } |
| 572 /** | 572 /** |
| 573 * Return the top-most node in the AST structure containing the given identifi
er. | 573 * Return the top-most node in the AST structure containing the given identifi
er. |
| 574 * @param identifier the identifier in the AST structure being traversed | 574 * @param identifier the identifier in the AST structure being traversed |
| 575 * @return the root of the AST structure containing the identifier | 575 * @return the root of the AST structure containing the identifier |
| 576 */ | 576 */ |
| 577 ASTNode topMostNode(SimpleIdentifier identifier) { | 577 ASTNode topMostNode(SimpleIdentifier identifier) { |
| 578 ASTNode child = identifier; | 578 ASTNode child = identifier; |
| 579 ASTNode parent20 = identifier.parent; | 579 ASTNode parent2 = identifier.parent; |
| 580 while (parent20 != null) { | 580 while (parent2 != null) { |
| 581 child = parent20; | 581 child = parent2; |
| 582 parent20 = parent20.parent; | 582 parent2 = parent2.parent; |
| 583 } | 583 } |
| 584 return child; | 584 return child; |
| 585 } | 585 } |
| 586 static dartSuite() { | 586 static dartSuite() { |
| 587 _ut.group('SimpleIdentifierTest', () { | 587 _ut.group('SimpleIdentifierTest', () { |
| 588 _ut.test('test_inDeclarationContext_argumentDefinition', () { | 588 _ut.test('test_inDeclarationContext_argumentDefinition', () { |
| 589 final __test = new SimpleIdentifierTest(); | 589 final __test = new SimpleIdentifierTest(); |
| 590 runJUnitTest(__test, __test.test_inDeclarationContext_argumentDefinition
); | 590 runJUnitTest(__test, __test.test_inDeclarationContext_argumentDefinition
); |
| 591 }); | 591 }); |
| 592 _ut.test('test_inDeclarationContext_catch_exception', () { | 592 _ut.test('test_inDeclarationContext_catch_exception', () { |
| (...skipping 2278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2871 }); | 2871 }); |
| 2872 } | 2872 } |
| 2873 } | 2873 } |
| 2874 main() { | 2874 main() { |
| 2875 ConstantEvaluatorTest.dartSuite(); | 2875 ConstantEvaluatorTest.dartSuite(); |
| 2876 NodeLocatorTest.dartSuite(); | 2876 NodeLocatorTest.dartSuite(); |
| 2877 ToSourceVisitorTest.dartSuite(); | 2877 ToSourceVisitorTest.dartSuite(); |
| 2878 IndexExpressionTest.dartSuite(); | 2878 IndexExpressionTest.dartSuite(); |
| 2879 SimpleIdentifierTest.dartSuite(); | 2879 SimpleIdentifierTest.dartSuite(); |
| 2880 } | 2880 } |
| OLD | NEW |