diff --git a/pkg/analyzer/lib/src/dart/ast/ast.dart b/pkg/analyzer/lib/src/dart/ast/ast.dart index 0bf2665248f..de0e0c92d7f 100644 --- a/pkg/analyzer/lib/src/dart/ast/ast.dart +++ b/pkg/analyzer/lib/src/dart/ast/ast.dart @@ -3305,6 +3305,9 @@ sealed class ClassMemberImpl extends DeclarationImpl implements ClassMember { /// Either or both of the [comment] and [metadata] can be `null` if the member /// doesn't have the corresponding attribute. ClassMemberImpl({required super.comment, required super.metadata}); + + /// The `augment` keyword, or `null` if the keyword was absent. + Token? get augmentKeyword; } /// The name of a class, enum, or extension type declaration. @@ -19635,6 +19638,9 @@ final class PrimaryConstructorBodyImpl extends ClassMemberImpl _becomeParentOf(body); } + @override + Token? get augmentKeyword => null; + @generated @override FunctionBodyImpl get body => _body;