@@ -554,7 +554,7 @@ abstract final class AsExpression implements Expression {
554
554
/// An as expression.
555
555
///
556
556
/// asExpression ::=
557
- /// [Expression] 'as' [TypeName ]
557
+ /// [Expression] 'as' [NamedType ]
558
558
final class AsExpressionImpl extends ExpressionImpl implements AsExpression {
559
559
/// The expression used to compute the value being cast.
560
560
ExpressionImpl _expression;
@@ -3049,7 +3049,7 @@ abstract final class ClassOrAugmentationDeclaration
3049
3049
/// | 'abstract'? 'base'? 'mixin'
3050
3050
///
3051
3051
/// mixinApplication ::=
3052
- /// [TypeName ] [WithClause] [ImplementsClause]? ';'
3052
+ /// [NamedType ] [WithClause] [ImplementsClause]? ';'
3053
3053
abstract final class ClassTypeAlias implements TypeAlias {
3054
3054
/// Return the token for the 'abstract' keyword, or `null` if this is not
3055
3055
/// defining an abstract class.
@@ -3101,7 +3101,7 @@ abstract final class ClassTypeAlias implements TypeAlias {
3101
3101
/// | 'abstract'? 'base'? 'mixin'
3102
3102
///
3103
3103
/// mixinApplication ::=
3104
- /// [TypeName ] [WithClause] [ImplementsClause]? ';'
3104
+ /// [NamedType ] [WithClause] [ImplementsClause]? ';'
3105
3105
final class ClassTypeAliasImpl extends TypeAliasImpl implements ClassTypeAlias {
3106
3106
/// The type parameters for the class, or `null` if the class does not have
3107
3107
/// any type parameters.
@@ -6473,7 +6473,7 @@ final class ExpressionStatementImpl extends StatementImpl
6473
6473
/// The "extends" clause in a class declaration.
6474
6474
///
6475
6475
/// extendsClause ::=
6476
- /// 'extends' [TypeName ]
6476
+ /// 'extends' [NamedType ]
6477
6477
abstract final class ExtendsClause implements AstNode {
6478
6478
/// Return the token representing the 'extends' keyword.
6479
6479
Token get extendsKeyword;
@@ -6485,7 +6485,7 @@ abstract final class ExtendsClause implements AstNode {
6485
6485
/// The "extends" clause in a class declaration.
6486
6486
///
6487
6487
/// extendsClause ::=
6488
- /// 'extends' [TypeName ]
6488
+ /// 'extends' [NamedType ]
6489
6489
final class ExtendsClauseImpl extends AstNodeImpl implements ExtendsClause {
6490
6490
/// The token representing the 'extends' keyword.
6491
6491
@override
@@ -6990,7 +6990,7 @@ abstract final class FieldFormalParameter implements NormalFormalParameter {
6990
6990
/// A field formal parameter.
6991
6991
///
6992
6992
/// fieldFormalParameter ::=
6993
- /// ('final' [TypeName ] | 'const' [TypeName ] | 'var' | [TypeName ])?
6993
+ /// ('final' [NamedType ] | 'const' [NamedType ] | 'var' | [NamedType ])?
6994
6994
/// 'this' '.' [SimpleIdentifier]
6995
6995
/// ([TypeParameterList]? [FormalParameterList])?
6996
6996
final class FieldFormalParameterImpl extends NormalFormalParameterImpl
@@ -8839,7 +8839,7 @@ abstract final class FunctionTypedFormalParameter
8839
8839
/// A function-typed formal parameter.
8840
8840
///
8841
8841
/// functionSignature ::=
8842
- /// [TypeName ]? [SimpleIdentifier] [TypeParameterList]?
8842
+ /// [NamedType ]? [SimpleIdentifier] [TypeParameterList]?
8843
8843
/// [FormalParameterList] '?'?
8844
8844
final class FunctionTypedFormalParameterImpl extends NormalFormalParameterImpl
8845
8845
implements FunctionTypedFormalParameter {
@@ -9693,7 +9693,7 @@ final class IfStatementImpl extends StatementImpl
9693
9693
/// The "implements" clause in an class declaration.
9694
9694
///
9695
9695
/// implementsClause ::=
9696
- /// 'implements' [TypeName ] (',' [TypeName ])*
9696
+ /// 'implements' [NamedType ] (',' [NamedType ])*
9697
9697
abstract final class ImplementsClause implements AstNode {
9698
9698
/// Return the token representing the 'implements' keyword.
9699
9699
Token get implementsKeyword;
@@ -9705,7 +9705,7 @@ abstract final class ImplementsClause implements AstNode {
9705
9705
/// The "implements" clause in an class declaration.
9706
9706
///
9707
9707
/// implementsClause ::=
9708
- /// 'implements' [TypeName ] (',' [TypeName ])*
9708
+ /// 'implements' [NamedType ] (',' [NamedType ])*
9709
9709
final class ImplementsClauseImpl extends AstNodeImpl
9710
9710
implements ImplementsClause {
9711
9711
/// The token representing the 'implements' keyword.
@@ -10330,7 +10330,7 @@ final class IndexExpressionImpl extends ExpressionImpl
10330
10330
/// An instance creation expression.
10331
10331
///
10332
10332
/// newExpression ::=
10333
- /// ('new' | 'const')? [TypeName ] ('.' [SimpleIdentifier])? [ArgumentList]
10333
+ /// ('new' | 'const')? [NamedType ] ('.' [SimpleIdentifier])? [ArgumentList]
10334
10334
abstract final class InstanceCreationExpression implements Expression {
10335
10335
/// Return the list of arguments to the constructor.
10336
10336
ArgumentList get argumentList;
@@ -10352,7 +10352,7 @@ abstract final class InstanceCreationExpression implements Expression {
10352
10352
/// An instance creation expression.
10353
10353
///
10354
10354
/// newExpression ::=
10355
- /// ('new' | 'const')? [TypeName ] ('.' [SimpleIdentifier])?
10355
+ /// ('new' | 'const')? [NamedType ] ('.' [SimpleIdentifier])?
10356
10356
/// [ArgumentList]
10357
10357
final class InstanceCreationExpressionImpl extends ExpressionImpl
10358
10358
implements InstanceCreationExpression {
@@ -10870,7 +10870,7 @@ abstract final class IsExpression implements Expression {
10870
10870
/// An is expression.
10871
10871
///
10872
10872
/// isExpression ::=
10873
- /// [Expression] 'is' '!'? [TypeName ]
10873
+ /// [Expression] 'is' '!'? [NamedType ]
10874
10874
final class IsExpressionImpl extends ExpressionImpl implements IsExpression {
10875
10875
/// The expression used to compute the value whose type is being tested.
10876
10876
ExpressionImpl _expression;
@@ -13645,7 +13645,7 @@ final class ObjectPatternImpl extends DartPatternImpl implements ObjectPattern {
13645
13645
/// The "on" clause in a mixin declaration.
13646
13646
///
13647
13647
/// onClause ::=
13648
- /// 'on' [TypeName ] (',' [TypeName ])*
13648
+ /// 'on' [NamedType ] (',' [NamedType ])*
13649
13649
abstract final class OnClause implements AstNode {
13650
13650
/// Return the token representing the 'on' keyword.
13651
13651
Token get onKeyword;
@@ -13657,7 +13657,7 @@ abstract final class OnClause implements AstNode {
13657
13657
/// The "on" clause in a mixin declaration.
13658
13658
///
13659
13659
/// onClause ::=
13660
- /// 'on' [TypeName ] (',' [TypeName ])*
13660
+ /// 'on' [NamedType ] (',' [NamedType ])*
13661
13661
final class OnClauseImpl extends AstNodeImpl implements OnClause {
13662
13662
@override
13663
13663
final Token onKeyword;
@@ -15921,7 +15921,7 @@ abstract final class SimpleFormalParameter implements NormalFormalParameter {
15921
15921
/// A simple formal parameter.
15922
15922
///
15923
15923
/// simpleFormalParameter ::=
15924
- /// ('final' [TypeName ] | 'var' | [TypeName ])? [SimpleIdentifier]
15924
+ /// ('final' [NamedType ] | 'var' | [NamedType ])? [SimpleIdentifier]
15925
15925
final class SimpleFormalParameterImpl extends NormalFormalParameterImpl
15926
15926
implements SimpleFormalParameter {
15927
15927
/// The token representing either the 'final', 'const' or 'var' keyword, or
@@ -16974,7 +16974,7 @@ abstract final class SuperFormalParameter implements NormalFormalParameter {
16974
16974
/// A super-initializer formal parameter.
16975
16975
///
16976
16976
/// fieldFormalParameter ::=
16977
- /// ('final' [TypeName ] | 'const' [TypeName ] | 'var' | [TypeName ])?
16977
+ /// ('final' [NamedType ] | 'const' [NamedType ] | 'var' | [NamedType ])?
16978
16978
/// 'super' '.' [SimpleIdentifier]
16979
16979
/// ([TypeParameterList]? [FormalParameterList])?
16980
16980
final class SuperFormalParameterImpl extends NormalFormalParameterImpl
@@ -18381,7 +18381,7 @@ abstract final class TypeParameter implements Declaration {
18381
18381
/// A type parameter.
18382
18382
///
18383
18383
/// typeParameter ::=
18384
- /// typeParameterVariance? [SimpleIdentifier] ('extends' [TypeName ])?
18384
+ /// typeParameterVariance? [SimpleIdentifier] ('extends' [NamedType ])?
18385
18385
///
18386
18386
/// typeParameterVariance ::= 'out' | 'inout' | 'in'
18387
18387
final class TypeParameterImpl extends DeclarationImpl implements TypeParameter {
@@ -19237,7 +19237,7 @@ final class WildcardPatternImpl extends DartPatternImpl
19237
19237
/// The with clause in a class declaration.
19238
19238
///
19239
19239
/// withClause ::=
19240
- /// 'with' [TypeName ] (',' [TypeName ])*
19240
+ /// 'with' [NamedType ] (',' [NamedType ])*
19241
19241
abstract final class WithClause implements AstNode {
19242
19242
/// Return the names of the mixins that were specified.
19243
19243
NodeList<NamedType> get mixinTypes;
@@ -19249,7 +19249,7 @@ abstract final class WithClause implements AstNode {
19249
19249
/// The with clause in a class declaration.
19250
19250
///
19251
19251
/// withClause ::=
19252
- /// 'with' [TypeName ] (',' [TypeName ])*
19252
+ /// 'with' [NamedType ] (',' [NamedType ])*
19253
19253
final class WithClauseImpl extends AstNodeImpl implements WithClause {
19254
19254
/// The token representing the 'with' keyword.
19255
19255
@override
0 commit comments