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; | 4 library engine.ast; |
5 | 5 |
6 import 'dart:collection'; | 6 import 'dart:collection'; |
7 import 'java_core.dart'; | 7 import 'java_core.dart'; |
8 import 'java_engine.dart'; | 8 import 'java_engine.dart'; |
9 import 'error.dart'; | 9 import 'error.dart'; |
10 import 'source.dart' show LineInfo; | 10 import 'source.dart' show LineInfo; |
(...skipping 5529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5540 * @param metadata the annotations associated with this type alias | 5540 * @param metadata the annotations associated with this type alias |
5541 * @param keyword the token representing the 'typedef' keyword | 5541 * @param keyword the token representing the 'typedef' keyword |
5542 * @param returnType the name of the return type of the function type being de
fined | 5542 * @param returnType the name of the return type of the function type being de
fined |
5543 * @param name the name of the type being declared | 5543 * @param name the name of the type being declared |
5544 * @param typeParameters the type parameters for the type | 5544 * @param typeParameters the type parameters for the type |
5545 * @param parameters the parameters associated with the function | 5545 * @param parameters the parameters associated with the function |
5546 * @param semicolon the semicolon terminating the declaration | 5546 * @param semicolon the semicolon terminating the declaration |
5547 */ | 5547 */ |
5548 FunctionTypeAlias({Comment comment, List<Annotation> metadata, Token keyword,
TypeName returnType, SimpleIdentifier name, TypeParameterList typeParameters, Fo
rmalParameterList parameters, Token semicolon}) : this.full(comment, metadata, k
eyword, returnType, name, typeParameters, parameters, semicolon); | 5548 FunctionTypeAlias({Comment comment, List<Annotation> metadata, Token keyword,
TypeName returnType, SimpleIdentifier name, TypeParameterList typeParameters, Fo
rmalParameterList parameters, Token semicolon}) : this.full(comment, metadata, k
eyword, returnType, name, typeParameters, parameters, semicolon); |
5549 accept(ASTVisitor visitor) => visitor.visitFunctionTypeAlias(this); | 5549 accept(ASTVisitor visitor) => visitor.visitFunctionTypeAlias(this); |
5550 TypeAliasElement get element => _name != null ? (_name.element as TypeAliasEle
ment) : null; | 5550 FunctionTypeAliasElement get element => _name != null ? (_name.element as Func
tionTypeAliasElement) : null; |
5551 /** | 5551 /** |
5552 * Return the name of the function type being declared. | 5552 * Return the name of the function type being declared. |
5553 * @return the name of the function type being declared | 5553 * @return the name of the function type being declared |
5554 */ | 5554 */ |
5555 SimpleIdentifier get name => _name; | 5555 SimpleIdentifier get name => _name; |
5556 /** | 5556 /** |
5557 * Return the parameters associated with the function type. | 5557 * Return the parameters associated with the function type. |
5558 * @return the parameters associated with the function type | 5558 * @return the parameters associated with the function type |
5559 */ | 5559 */ |
5560 FormalParameterList get parameters => _parameters; | 5560 FormalParameterList get parameters => _parameters; |
(...skipping 2002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7563 MethodInvocation({Expression target, Token period, SimpleIdentifier methodName
, ArgumentList argumentList}) : this.full(target, period, methodName, argumentLi
st); | 7563 MethodInvocation({Expression target, Token period, SimpleIdentifier methodName
, ArgumentList argumentList}) : this.full(target, period, methodName, argumentLi
st); |
7564 accept(ASTVisitor visitor) => visitor.visitMethodInvocation(this); | 7564 accept(ASTVisitor visitor) => visitor.visitMethodInvocation(this); |
7565 /** | 7565 /** |
7566 * Return the list of arguments to the method. | 7566 * Return the list of arguments to the method. |
7567 * @return the list of arguments to the method | 7567 * @return the list of arguments to the method |
7568 */ | 7568 */ |
7569 ArgumentList get argumentList => _argumentList; | 7569 ArgumentList get argumentList => _argumentList; |
7570 Token get beginToken { | 7570 Token get beginToken { |
7571 if (_target != null) { | 7571 if (_target != null) { |
7572 return _target.beginToken; | 7572 return _target.beginToken; |
| 7573 } else if (_period != null) { |
| 7574 return _period; |
7573 } | 7575 } |
7574 return _methodName.beginToken; | 7576 return _methodName.beginToken; |
7575 } | 7577 } |
7576 Token get endToken => _argumentList.endToken; | 7578 Token get endToken => _argumentList.endToken; |
7577 /** | 7579 /** |
7578 * Return the name of the method being invoked. | 7580 * Return the name of the method being invoked. |
7579 * @return the name of the method being invoked | 7581 * @return the name of the method being invoked |
7580 */ | 7582 */ |
7581 SimpleIdentifier get methodName => _methodName; | 7583 SimpleIdentifier get methodName => _methodName; |
7582 /** | 7584 /** |
(...skipping 5425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13008 return elements[elements.length - 1].endToken; | 13010 return elements[elements.length - 1].endToken; |
13009 } | 13011 } |
13010 /** | 13012 /** |
13011 * Return the node that is the parent of each of the elements in the list. | 13013 * Return the node that is the parent of each of the elements in the list. |
13012 * @return the node that is the parent of each of the elements in the list | 13014 * @return the node that is the parent of each of the elements in the list |
13013 */ | 13015 */ |
13014 ASTNode getOwner() { | 13016 ASTNode getOwner() { |
13015 return owner; | 13017 return owner; |
13016 } | 13018 } |
13017 } | 13019 } |
OLD | NEW |