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

Unified Diff: pkg/analyzer/lib/src/dart/ast/ast.dart

Issue 1749143003: Add @overrides to (a lot of) analyzer. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: options Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/context/source.dart ('k') | pkg/analyzer/lib/src/dart/ast/token.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/dart/ast/ast.dart
diff --git a/pkg/analyzer/lib/src/dart/ast/ast.dart b/pkg/analyzer/lib/src/dart/ast/ast.dart
index f4c1a0b06d9b02093659dfb37b777dc950902226..d2e09de088128a8d37552883ffa38553e4647658 100644
--- a/pkg/analyzer/lib/src/dart/ast/ast.dart
+++ b/pkg/analyzer/lib/src/dart/ast/ast.dart
@@ -191,6 +191,7 @@ class AnnotationImpl extends AstNodeImpl implements Annotation {
/**
* The at sign that introduced the annotation.
*/
+ @override
Token atSign;
/**
@@ -203,6 +204,7 @@ class AnnotationImpl extends AstNodeImpl implements Annotation {
* The period before the constructor name, or `null` if this annotation is not
* the invocation of a named constructor.
*/
+ @override
Token period;
/**
@@ -226,6 +228,7 @@ class AnnotationImpl extends AstNodeImpl implements Annotation {
/**
* The element annotation representing this annotation in the element model.
*/
+ @override
ElementAnnotation elementAnnotation;
/**
@@ -327,6 +330,7 @@ class ArgumentListImpl extends AstNodeImpl implements ArgumentList {
/**
* The left parenthesis.
*/
+ @override
Token leftParenthesis;
/**
@@ -337,6 +341,7 @@ class ArgumentListImpl extends AstNodeImpl implements ArgumentList {
/**
* The right parenthesis.
*/
+ @override
Token rightParenthesis;
/**
@@ -480,6 +485,7 @@ class AsExpressionImpl extends ExpressionImpl implements AsExpression {
/**
* The 'as' operator.
*/
+ @override
Token asOperator;
/**
@@ -544,11 +550,13 @@ class AssertStatementImpl extends StatementImpl implements AssertStatement {
/**
* The token representing the 'assert' keyword.
*/
+ @override
Token assertKeyword;
/**
* The left parenthesis.
*/
+ @override
Token leftParenthesis;
/**
@@ -559,6 +567,7 @@ class AssertStatementImpl extends StatementImpl implements AssertStatement {
/**
* The comma, if a message expression was supplied. Otherwise `null`.
*/
+ @override
Token comma;
/**
@@ -570,11 +579,13 @@ class AssertStatementImpl extends StatementImpl implements AssertStatement {
/**
* The right parenthesis.
*/
+ @override
Token rightParenthesis;
/**
* The semicolon terminating the statement.
*/
+ @override
Token semicolon;
/**
@@ -650,6 +661,7 @@ class AssignmentExpressionImpl extends ExpressionImpl
/**
* The assignment operator being applied.
*/
+ @override
Token operator;
/**
@@ -663,6 +675,7 @@ class AssignmentExpressionImpl extends ExpressionImpl
* the operator is not a compound operator, or if the operator could not be
* resolved.
*/
+ @override
MethodElement staticElement;
/**
@@ -671,6 +684,7 @@ class AssignmentExpressionImpl extends ExpressionImpl
* if the operator is not a compound operator, or if the operator could not be
* resolved.
*/
+ @override
MethodElement propagatedElement;
/**
@@ -948,6 +962,7 @@ class AwaitExpressionImpl extends ExpressionImpl implements AwaitExpression {
/**
* The 'await' keyword.
*/
+ @override
Token awaitKeyword;
/**
@@ -1012,6 +1027,7 @@ class BinaryExpressionImpl extends ExpressionImpl implements BinaryExpression {
/**
* The binary operator being applied.
*/
+ @override
Token operator;
/**
@@ -1024,6 +1040,7 @@ class BinaryExpressionImpl extends ExpressionImpl implements BinaryExpression {
* left operand, or `null` if the AST structure has not been resolved, if the
* operator is not user definable, or if the operator could not be resolved.
*/
+ @override
MethodElement staticElement;
/**
@@ -1032,6 +1049,7 @@ class BinaryExpressionImpl extends ExpressionImpl implements BinaryExpression {
* the operator is not user definable, or if the operator could not be
* resolved.
*/
+ @override
MethodElement propagatedElement;
/**
@@ -1137,12 +1155,14 @@ class BlockFunctionBodyImpl extends FunctionBodyImpl
* The token representing the 'async' or 'sync' keyword, or `null` if there is
* no such keyword.
*/
+ @override
Token keyword;
/**
* The star optionally following the 'async' or 'sync' keyword, or `null` if
* there is wither no such keyword or no star.
*/
+ @override
Token star;
/**
@@ -1211,6 +1231,7 @@ class BlockImpl extends StatementImpl implements Block {
/**
* The left curly bracket.
*/
+ @override
Token leftBracket;
/**
@@ -1221,6 +1242,7 @@ class BlockImpl extends StatementImpl implements Block {
/**
* The right curly bracket.
*/
+ @override
Token rightBracket;
/**
@@ -1264,11 +1286,13 @@ class BooleanLiteralImpl extends LiteralImpl implements BooleanLiteral {
/**
* The token representing the literal.
*/
+ @override
Token literal;
/**
* The value of the literal.
*/
+ @override
bool value = false;
/**
@@ -1307,6 +1331,7 @@ class BreakStatementImpl extends StatementImpl implements BreakStatement {
/**
* The token representing the 'break' keyword.
*/
+ @override
Token breakKeyword;
/**
@@ -1317,6 +1342,7 @@ class BreakStatementImpl extends StatementImpl implements BreakStatement {
/**
* The semicolon terminating the statement.
*/
+ @override
Token semicolon;
/**
@@ -1328,6 +1354,7 @@ class BreakStatementImpl extends StatementImpl implements BreakStatement {
* resolved. Note that if the source code has errors, the target might be
* invalid (e.g. trying to break to a switch case).
*/
+ @override
AstNode target;
/**
@@ -1453,6 +1480,7 @@ class CatchClauseImpl extends AstNodeImpl implements CatchClause {
* The token representing the 'on' keyword, or `null` if there is no 'on'
* keyword.
*/
+ @override
Token onKeyword;
/**
@@ -1465,11 +1493,13 @@ class CatchClauseImpl extends AstNodeImpl implements CatchClause {
* The token representing the 'catch' keyword, or `null` if there is no
* 'catch' keyword.
*/
+ @override
Token catchKeyword;
/**
* The left parenthesis, or `null` if there is no 'catch' keyword.
*/
+ @override
Token leftParenthesis;
/**
@@ -1482,6 +1512,7 @@ class CatchClauseImpl extends AstNodeImpl implements CatchClause {
* The comma separating the exception parameter from the stack trace
* parameter, or `null` if there is no stack trace parameter.
*/
+ @override
Token comma;
/**
@@ -1493,6 +1524,7 @@ class CatchClauseImpl extends AstNodeImpl implements CatchClause {
/**
* The right parenthesis, or `null` if there is no 'catch' keyword.
*/
+ @override
Token rightParenthesis;
/**
@@ -1635,11 +1667,13 @@ class ClassDeclarationImpl extends NamedCompilationUnitMemberImpl
/**
* The 'abstract' keyword, or `null` if the keyword was absent.
*/
+ @override
Token abstractKeyword;
/**
* The token representing the 'class' keyword.
*/
+ @override
Token classKeyword;
/**
@@ -1675,6 +1709,7 @@ class ClassDeclarationImpl extends NamedCompilationUnitMemberImpl
/**
* The left curly bracket.
*/
+ @override
Token leftBracket;
/**
@@ -1685,6 +1720,7 @@ class ClassDeclarationImpl extends NamedCompilationUnitMemberImpl
/**
* The right curly bracket.
*/
+ @override
Token rightBracket;
/**
@@ -1890,12 +1926,14 @@ class ClassTypeAliasImpl extends TypeAliasImpl implements ClassTypeAlias {
/**
* The token for the '=' separating the name from the definition.
*/
+ @override
Token equals;
/**
* The token for the 'abstract' keyword, or `null` if this is not defining an
* abstract class.
*/
+ @override
Token abstractKeyword;
/**
@@ -2026,6 +2064,7 @@ abstract class CombinatorImpl extends AstNodeImpl implements Combinator {
* The 'hide' or 'show' keyword specifying what kind of processing is to be
* done on the names.
*/
+ @override
Token keyword;
/**
@@ -2059,6 +2098,7 @@ class CommentImpl extends AstNodeImpl implements Comment {
/**
* The tokens representing the comment.
*/
+ @override
final List<Token> tokens;
/**
@@ -2151,6 +2191,7 @@ class CommentReferenceImpl extends AstNodeImpl implements CommentReference {
* The token representing the 'new' keyword, or `null` if there was no 'new'
* keyword.
*/
+ @override
Token newKeyword;
/**
@@ -2254,6 +2295,7 @@ class CompilationUnitImpl extends AstNodeImpl implements CompilationUnit {
* The first token in the token stream that was parsed to form this
* compilation unit.
*/
+ @override
Token beginToken;
/**
@@ -2276,17 +2318,20 @@ class CompilationUnitImpl extends AstNodeImpl implements CompilationUnit {
* The last token in the token stream that was parsed to form this compilation
* unit. This token should always have a type of [TokenType.EOF].
*/
+ @override
Token endToken;
/**
* The element associated with this compilation unit, or `null` if the AST
* structure has not been resolved.
*/
+ @override
CompilationUnitElement element;
/**
* The line information for this compilation unit.
*/
+ @override
LineInfo lineInfo;
/**
@@ -2421,6 +2466,7 @@ class ConditionalExpressionImpl extends ExpressionImpl
/**
* The token used to separate the condition from the then expression.
*/
+ @override
Token question;
/**
@@ -2431,6 +2477,7 @@ class ConditionalExpressionImpl extends ExpressionImpl
/**
* The token used to separate the then expression from the else expression.
*/
+ @override
Token colon;
/**
@@ -2513,11 +2560,15 @@ class ConditionalExpressionImpl extends ExpressionImpl
* identifier ('.' identifier)*
*/
class ConfigurationImpl extends AstNodeImpl implements Configuration {
+ @override
Token ifKeyword;
+ @override
Token leftParenthesis;
DottedName _name;
+ @override
Token equalToken;
StringLiteral _value;
+ @override
Token rightParenthesis;
StringLiteral _libraryUri;
@@ -2612,18 +2663,21 @@ class ConstructorDeclarationImpl extends ClassMemberImpl
* The token for the 'external' keyword, or `null` if the constructor is not
* external.
*/
+ @override
Token externalKeyword;
/**
* The token for the 'const' keyword, or `null` if the constructor is not a
* const constructor.
*/
+ @override
Token constKeyword;
/**
* The token for the 'factory' keyword, or `null` if the constructor is not a
* factory constructor.
*/
+ @override
Token factoryKeyword;
/**
@@ -2637,6 +2691,7 @@ class ConstructorDeclarationImpl extends ClassMemberImpl
* The token for the period before the constructor name, or `null` if the
* constructor being declared is unnamed.
*/
+ @override
Token period;
/**
@@ -2654,6 +2709,7 @@ class ConstructorDeclarationImpl extends ClassMemberImpl
* The token for the separator (colon or equals) before the initializer list
* or redirection, or `null` if there are no initializers.
*/
+ @override
Token separator;
/**
@@ -2678,6 +2734,7 @@ class ConstructorDeclarationImpl extends ClassMemberImpl
* structure has not been resolved or if this constructor could not be
* resolved.
*/
+ @override
ConstructorElement element;
/**
@@ -2821,12 +2878,14 @@ class ConstructorFieldInitializerImpl extends ConstructorInitializerImpl
/**
* The token for the 'this' keyword, or `null` if there is no 'this' keyword.
*/
+ @override
Token thisKeyword;
/**
* The token for the period after the 'this' keyword, or `null` if there is no
* 'this' keyword.
*/
+ @override
Token period;
/**
@@ -2837,6 +2896,7 @@ class ConstructorFieldInitializerImpl extends ConstructorInitializerImpl
/**
* The token for the equal sign between the field name and the expression.
*/
+ @override
Token equals;
/**
@@ -2927,6 +2987,7 @@ class ConstructorNameImpl extends AstNodeImpl implements ConstructorName {
* The token for the period before the constructor name, or `null` if the
* specified constructor is the unnamed constructor.
*/
+ @override
Token period;
/**
@@ -2940,6 +3001,7 @@ class ConstructorNameImpl extends AstNodeImpl implements ConstructorName {
* information, or `null` if the AST structure has not been resolved or if
* this constructor name could not be resolved.
*/
+ @override
ConstructorElement staticElement;
/**
@@ -3002,6 +3064,7 @@ class ContinueStatementImpl extends StatementImpl implements ContinueStatement {
/**
* The token representing the 'continue' keyword.
*/
+ @override
Token continueKeyword;
/**
@@ -3012,6 +3075,7 @@ class ContinueStatementImpl extends StatementImpl implements ContinueStatement {
/**
* The semicolon terminating the statement.
*/
+ @override
Token semicolon;
/**
@@ -3087,6 +3151,7 @@ class DeclaredIdentifierImpl extends DeclarationImpl
* The token representing either the 'final', 'const' or 'var' keyword, or
* `null` if no keyword was used.
*/
+ @override
Token keyword;
/**
@@ -3196,12 +3261,14 @@ class DefaultFormalParameterImpl extends FormalParameterImpl
/**
* The kind of this parameter.
*/
+ @override
ParameterKind kind;
/**
* The token separating the parameter from the default value, or `null` if
* there is no default value.
*/
+ @override
Token separator;
/**
@@ -3288,6 +3355,7 @@ abstract class DirectiveImpl extends AnnotatedNodeImpl implements Directive {
* The element associated with this directive, or `null` if the AST structure
* has not been resolved or if this directive could not be resolved.
*/
+ @override
Element element;
/**
@@ -3309,6 +3377,7 @@ class DoStatementImpl extends StatementImpl implements DoStatement {
/**
* The token representing the 'do' keyword.
*/
+ @override
Token doKeyword;
/**
@@ -3319,6 +3388,7 @@ class DoStatementImpl extends StatementImpl implements DoStatement {
/**
* The token representing the 'while' keyword.
*/
+ @override
Token whileKeyword;
/**
@@ -3334,11 +3404,13 @@ class DoStatementImpl extends StatementImpl implements DoStatement {
/**
* The right parenthesis.
*/
+ @override
Token rightParenthesis;
/**
* The semicolon terminating the statement.
*/
+ @override
Token semicolon;
/**
@@ -3453,11 +3525,13 @@ class DoubleLiteralImpl extends LiteralImpl implements DoubleLiteral {
/**
* The token representing the literal.
*/
+ @override
Token literal;
/**
* The value of the literal.
*/
+ @override
double value;
/**
@@ -3496,6 +3570,7 @@ class EmptyFunctionBodyImpl extends FunctionBodyImpl
* The token representing the semicolon that marks the end of the function
* body.
*/
+ @override
Token semicolon;
/**
@@ -3620,11 +3695,13 @@ class EnumDeclarationImpl extends NamedCompilationUnitMemberImpl
/**
* The 'enum' keyword.
*/
+ @override
Token enumKeyword;
/**
* The left curly bracket.
*/
+ @override
Token leftBracket;
/**
@@ -3635,6 +3712,7 @@ class EnumDeclarationImpl extends NamedCompilationUnitMemberImpl
/**
* The right curly bracket.
*/
+ @override
Token rightBracket;
/**
@@ -3763,12 +3841,14 @@ class ExpressionFunctionBodyImpl extends FunctionBodyImpl
* The token representing the 'async' keyword, or `null` if there is no such
* keyword.
*/
+ @override
Token keyword;
/**
* The token introducing the expression that represents the body of the
* function.
*/
+ @override
Token functionDefinition;
/**
@@ -3779,6 +3859,7 @@ class ExpressionFunctionBodyImpl extends FunctionBodyImpl
/**
* The semicolon terminating the statement.
*/
+ @override
Token semicolon;
/**
@@ -3850,12 +3931,14 @@ abstract class ExpressionImpl extends AstNodeImpl implements Expression {
* The static type of this expression, or `null` if the AST structure has not
* been resolved.
*/
+ @override
DartType staticType;
/**
* The propagated type of this expression, or `null` if type propagation has
* not been performed on the AST structure.
*/
+ @override
DartType propagatedType;
/**
@@ -3953,6 +4036,7 @@ class ExpressionStatementImpl extends StatementImpl
* The semicolon terminating the statement, or `null` if the expression is a
* function expression and therefore isn't followed by a semicolon.
*/
+ @override
Token semicolon;
/**
@@ -4007,6 +4091,7 @@ class ExtendsClauseImpl extends AstNodeImpl implements ExtendsClause {
/**
* The token representing the 'extends' keyword.
*/
+ @override
Token extendsKeyword;
/**
@@ -4059,6 +4144,7 @@ class FieldDeclarationImpl extends ClassMemberImpl implements FieldDeclaration {
* The token representing the 'static' keyword, or `null` if the fields are
* not static.
*/
+ @override
Token staticKeyword;
/**
@@ -4069,6 +4155,7 @@ class FieldDeclarationImpl extends ClassMemberImpl implements FieldDeclaration {
/**
* The semicolon terminating the declaration.
*/
+ @override
Token semicolon;
/**
@@ -4135,6 +4222,7 @@ class FieldFormalParameterImpl extends NormalFormalParameterImpl
* The token representing either the 'final', 'const' or 'var' keyword, or
* `null` if no keyword was used.
*/
+ @override
Token keyword;
/**
@@ -4146,11 +4234,13 @@ class FieldFormalParameterImpl extends NormalFormalParameterImpl
/**
* The token representing the 'this' keyword.
*/
+ @override
Token thisKeyword;
/**
* The token representing the period.
*/
+ @override
Token period;
/**
@@ -4276,16 +4366,19 @@ class ForEachStatementImpl extends StatementImpl implements ForEachStatement {
* The token representing the 'await' keyword, or `null` if there is no
* 'await' keyword.
*/
+ @override
Token awaitKeyword;
/**
* The token representing the 'for' keyword.
*/
+ @override
Token forKeyword;
/**
* The left parenthesis.
*/
+ @override
Token leftParenthesis;
/**
@@ -4302,6 +4395,7 @@ class ForEachStatementImpl extends StatementImpl implements ForEachStatement {
/**
* The token representing the 'in' keyword.
*/
+ @override
Token inKeyword;
/**
@@ -4312,6 +4406,7 @@ class ForEachStatementImpl extends StatementImpl implements ForEachStatement {
/**
* The right parenthesis.
*/
+ @override
Token rightParenthesis;
/**
@@ -4471,6 +4566,7 @@ class FormalParameterListImpl extends AstNodeImpl
/**
* The left parenthesis.
*/
+ @override
Token leftParenthesis;
/**
@@ -4482,17 +4578,20 @@ class FormalParameterListImpl extends AstNodeImpl
* The left square bracket ('[') or left curly brace ('{') introducing the
* optional parameters, or `null` if there are no optional parameters.
*/
+ @override
Token leftDelimiter;
/**
* The right square bracket (']') or right curly brace ('}') terminating the
* optional parameters, or `null` if there are no optional parameters.
*/
+ @override
Token rightDelimiter;
/**
* The right parenthesis.
*/
+ @override
Token rightParenthesis;
/**
@@ -4569,11 +4668,13 @@ class ForStatementImpl extends StatementImpl implements ForStatement {
/**
* The token representing the 'for' keyword.
*/
+ @override
Token forKeyword;
/**
* The left parenthesis.
*/
+ @override
Token leftParenthesis;
/**
@@ -4593,6 +4694,7 @@ class ForStatementImpl extends StatementImpl implements ForStatement {
/**
* The semicolon separating the initializer and the condition.
*/
+ @override
Token leftSeparator;
/**
@@ -4604,6 +4706,7 @@ class ForStatementImpl extends StatementImpl implements ForStatement {
/**
* The semicolon separating the condition and the updater.
*/
+ @override
Token rightSeparator;
/**
@@ -4614,6 +4717,7 @@ class ForStatementImpl extends StatementImpl implements ForStatement {
/**
* The right parenthesis.
*/
+ @override
Token rightParenthesis;
/**
@@ -4731,28 +4835,33 @@ abstract class FunctionBodyImpl extends AstNodeImpl implements FunctionBody {
/**
* Return `true` if this function body is asynchronous.
*/
+ @override
bool get isAsynchronous => false;
/**
* Return `true` if this function body is a generator.
*/
+ @override
bool get isGenerator => false;
/**
* Return `true` if this function body is synchronous.
*/
+ @override
bool get isSynchronous => true;
/**
* Return the token representing the 'async' or 'sync' keyword, or `null` if
* there is no such keyword.
*/
+ @override
Token get keyword => null;
/**
* Return the star following the 'async' or 'sync' keyword, or `null` if there
* is no star.
*/
+ @override
Token get star => null;
@override
@@ -4788,6 +4897,7 @@ class FunctionDeclarationImpl extends NamedCompilationUnitMemberImpl
* The token representing the 'external' keyword, or `null` if this is not an
* external function.
*/
+ @override
Token externalKeyword;
/**
@@ -4799,6 +4909,7 @@ class FunctionDeclarationImpl extends NamedCompilationUnitMemberImpl
* The token representing the 'get' or 'set' keyword, or `null` if this is a
* function declaration rather than a property declaration.
*/
+ @override
Token propertyKeyword;
/**
@@ -4965,6 +5076,7 @@ class FunctionExpressionImpl extends ExpressionImpl
* The element associated with the function, or `null` if the AST structure
* has not been resolved.
*/
+ @override
ExecutableElement element;
/**
@@ -5066,6 +5178,7 @@ class FunctionExpressionInvocationImpl extends InvocationExpressionImpl
* information, or `null` if the AST structure has not been resolved or the
* function could not be resolved.
*/
+ @override
ExecutableElement staticElement;
/**
@@ -5073,6 +5186,7 @@ class FunctionExpressionInvocationImpl extends InvocationExpressionImpl
* type information, or `null` if the AST structure has not been resolved or
* the function could not be resolved.
*/
+ @override
ExecutableElement propagatedElement;
/**
@@ -5398,11 +5512,13 @@ class IfStatementImpl extends StatementImpl implements IfStatement {
/**
* The token representing the 'if' keyword.
*/
+ @override
Token ifKeyword;
/**
* The left parenthesis.
*/
+ @override
Token leftParenthesis;
/**
@@ -5413,6 +5529,7 @@ class IfStatementImpl extends StatementImpl implements IfStatement {
/**
* The right parenthesis.
*/
+ @override
Token rightParenthesis;
/**
@@ -5424,6 +5541,7 @@ class IfStatementImpl extends StatementImpl implements IfStatement {
* The token representing the 'else' keyword, or `null` if there is no else
* statement.
*/
+ @override
Token elseKeyword;
/**
@@ -5515,6 +5633,7 @@ class ImplementsClauseImpl extends AstNodeImpl implements ImplementsClause {
/**
* The token representing the 'implements' keyword.
*/
+ @override
Token implementsKeyword;
/**
@@ -5572,6 +5691,7 @@ class ImportDirectiveImpl extends NamespaceDirectiveImpl
* The token representing the 'as' keyword, or `null` if the imported names are
* not prefixed.
*/
+ @override
Token asKeyword;
/**
@@ -5661,11 +5781,13 @@ class IndexExpressionImpl extends ExpressionImpl implements IndexExpression {
* The period ("..") before a cascaded index expression, or `null` if this
* index expression is not part of a cascade expression.
*/
+ @override
Token period;
/**
* The left square bracket.
*/
+ @override
Token leftBracket;
/**
@@ -5676,6 +5798,7 @@ class IndexExpressionImpl extends ExpressionImpl implements IndexExpression {
/**
* The right square bracket.
*/
+ @override
Token rightBracket;
/**
@@ -5683,6 +5806,7 @@ class IndexExpressionImpl extends ExpressionImpl implements IndexExpression {
* target, or `null` if the AST structure has not been resolved or if the
* operator could not be resolved.
*/
+ @override
MethodElement staticElement;
/**
@@ -5690,6 +5814,8 @@ class IndexExpressionImpl extends ExpressionImpl implements IndexExpression {
* the target, or `null` if the AST structure has not been resolved or if the
* operator could not be resolved.
*/
+
+ @override
MethodElement propagatedElement;
/**
@@ -5869,6 +5995,7 @@ class InstanceCreationExpressionImpl extends ExpressionImpl
* The 'new' or 'const' keyword used to indicate how an object should be
* created.
*/
+ @override
Token keyword;
/**
@@ -5886,6 +6013,7 @@ class InstanceCreationExpressionImpl extends ExpressionImpl
* information, or `null` if the AST structure has not been resolved or if the
* constructor could not be resolved.
*/
+ @override
ConstructorElement staticElement;
/**
@@ -5961,11 +6089,13 @@ class IntegerLiteralImpl extends LiteralImpl implements IntegerLiteral {
/**
* The token representing the literal.
*/
+ @override
Token literal;
/**
* The value of the literal.
*/
+ @override
int value = 0;
/**
@@ -6015,6 +6145,7 @@ class InterpolationExpressionImpl extends InterpolationElementImpl
* expression is a simple identifier or '${' if the expression is a full
* expression.
*/
+ @override
Token leftBracket;
/**
@@ -6026,6 +6157,7 @@ class InterpolationExpressionImpl extends InterpolationElementImpl
* The right curly bracket, or `null` if the expression is an identifier
* without brackets.
*/
+ @override
Token rightBracket;
/**
@@ -6081,11 +6213,13 @@ class InterpolationStringImpl extends InterpolationElementImpl
/**
* The characters that will be added to the string.
*/
+ @override
Token contents;
/**
* The value of the literal.
*/
+ @override
String value;
/**
@@ -6158,7 +6292,6 @@ abstract class InvocationExpressionImpl extends ExpressionImpl
@override
ArgumentList get argumentList => _argumentList;
- @override
void set argumentList(ArgumentList argumentList) {
_argumentList = _becomeParentOf(argumentList);
}
@@ -6166,7 +6299,6 @@ abstract class InvocationExpressionImpl extends ExpressionImpl
@override
TypeArgumentList get typeArguments => _typeArguments;
- @override
void set typeArguments(TypeArgumentList typeArguments) {
_typeArguments = _becomeParentOf(typeArguments);
}
@@ -6187,11 +6319,13 @@ class IsExpressionImpl extends ExpressionImpl implements IsExpression {
/**
* The is operator.
*/
+ @override
Token isOperator;
/**
* The not operator, or `null` if the sense of the test is not negated.
*/
+ @override
Token notOperator;
/**
@@ -6331,6 +6465,7 @@ class LabelImpl extends AstNodeImpl implements Label {
/**
* The colon that separates the label from the statement.
*/
+ @override
Token colon;
/**
@@ -6376,6 +6511,7 @@ class LibraryDirectiveImpl extends DirectiveImpl implements LibraryDirective {
/**
* The token representing the 'library' keyword.
*/
+ @override
Token libraryKeyword;
/**
@@ -6386,6 +6522,7 @@ class LibraryDirectiveImpl extends DirectiveImpl implements LibraryDirective {
/**
* The semicolon terminating the directive.
*/
+ @override
Token semicolon;
/**
@@ -6509,6 +6646,7 @@ class ListLiteralImpl extends TypedLiteralImpl implements ListLiteral {
/**
* The left square bracket.
*/
+ @override
Token leftBracket;
/**
@@ -6519,6 +6657,7 @@ class ListLiteralImpl extends TypedLiteralImpl implements ListLiteral {
/**
* The right square bracket.
*/
+ @override
Token rightBracket;
/**
@@ -6620,6 +6759,7 @@ class MapLiteralEntryImpl extends AstNodeImpl implements MapLiteralEntry {
/**
* The colon that separates the key from the value.
*/
+ @override
Token separator;
/**
@@ -6682,6 +6822,7 @@ class MapLiteralImpl extends TypedLiteralImpl implements MapLiteral {
/**
* The left curly bracket.
*/
+ @override
Token leftBracket;
/**
@@ -6692,6 +6833,7 @@ class MapLiteralImpl extends TypedLiteralImpl implements MapLiteral {
/**
* The right curly bracket.
*/
+ @override
Token rightBracket;
/**
@@ -6760,12 +6902,14 @@ class MethodDeclarationImpl extends ClassMemberImpl
* The token for the 'external' keyword, or `null` if the constructor is not
* external.
*/
+ @override
Token externalKeyword;
/**
* The token representing the 'abstract' or 'static' keyword, or `null` if
* neither modifier was specified.
*/
+ @override
Token modifierKeyword;
/**
@@ -6777,12 +6921,14 @@ class MethodDeclarationImpl extends ClassMemberImpl
* The token representing the 'get' or 'set' keyword, or `null` if this is a
* method declaration rather than a property declaration.
*/
+ @override
Token propertyKeyword;
/**
* The token representing the 'operator' keyword, or `null` if this method
* does not declare an operator.
*/
+ @override
Token operatorKeyword;
/**
@@ -6979,6 +7125,7 @@ class MethodInvocationImpl extends InvocationExpressionImpl
* period ('.'). In a cascade section this will be the cascade operator
* ('..').
*/
+ @override
Token operator;
/**
@@ -7190,6 +7337,7 @@ abstract class NamespaceDirectiveImpl extends UriBasedDirectiveImpl
/**
* The token representing the 'import' or 'export' keyword.
*/
+ @override
Token keyword;
/**
@@ -7206,6 +7354,7 @@ abstract class NamespaceDirectiveImpl extends UriBasedDirectiveImpl
/**
* The semicolon terminating the directive.
*/
+ @override
Token semicolon;
/**
@@ -7253,6 +7402,7 @@ class NativeClauseImpl extends AstNodeImpl implements NativeClause {
/**
* The token representing the 'native' keyword.
*/
+ @override
Token nativeKeyword;
/**
@@ -7306,6 +7456,7 @@ class NativeFunctionBodyImpl extends FunctionBodyImpl
/**
* The token representing 'native' that marks the start of the function body.
*/
+ @override
Token nativeKeyword;
/**
@@ -7317,6 +7468,7 @@ class NativeFunctionBodyImpl extends FunctionBodyImpl
* The token representing the semicolon that marks the end of the function
* body.
*/
+ @override
Token semicolon;
/**
@@ -7366,6 +7518,7 @@ class NodeListImpl<E extends AstNode> extends Object
/**
* The node that is the parent of each of the elements in the list.
*/
+ @override
AstNodeImpl owner;
/**
@@ -7705,11 +7858,13 @@ class PartDirectiveImpl extends UriBasedDirectiveImpl implements PartDirective {
/**
* The token representing the 'part' keyword.
*/
+ @override
Token partKeyword;
/**
* The semicolon terminating the directive.
*/
+ @override
Token semicolon;
/**
@@ -7751,11 +7906,13 @@ class PartOfDirectiveImpl extends DirectiveImpl implements PartOfDirective {
/**
* The token representing the 'part' keyword.
*/
+ @override
Token partKeyword;
/**
* The token representing the 'of' keyword.
*/
+ @override
Token ofKeyword;
/**
@@ -7766,6 +7923,7 @@ class PartOfDirectiveImpl extends DirectiveImpl implements PartOfDirective {
/**
* The semicolon terminating the directive.
*/
+ @override
Token semicolon;
/**
@@ -7834,6 +7992,7 @@ class PostfixExpressionImpl extends ExpressionImpl
/**
* The postfix operator being applied to the operand.
*/
+ @override
Token operator;
/**
@@ -7842,6 +8001,7 @@ class PostfixExpressionImpl extends ExpressionImpl
* the operator is not user definable, or if the operator could not be
* resolved.
*/
+ @override
MethodElement propagatedElement;
/**
@@ -7849,6 +8009,7 @@ class PostfixExpressionImpl extends ExpressionImpl
* operand, or `null` if the AST structure has not been resolved, if the
* operator is not user definable, or if the operator could not be resolved.
*/
+ @override
MethodElement staticElement;
/**
« no previous file with comments | « pkg/analyzer/lib/src/context/source.dart ('k') | pkg/analyzer/lib/src/dart/ast/token.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698