classTypeAlias abstract method
ClassTypeAlias
classTypeAlias(
- Comment? comment,
- List<
Annotation> ? metadata, - Token keyword,
- SimpleIdentifier name,
- TypeParameterList? typeParameters,
- Token equals,
- Token? abstractKeyword,
- NamedType superclass,
- WithClause withClause,
- ImplementsClause? implementsClause,
- Token semicolon,
Returns a newly created class type alias. Either or both of the comment
and metadata
can be null
if the class type alias does not have the
corresponding attribute. The typeParameters
can be null
if the class
does not have any type parameters. The abstractKeyword
can be null
if
the class is not abstract. The implementsClause
can be null
if the
class does not implement any interfaces.
Implementation
ClassTypeAlias classTypeAlias(
Comment? comment,
List<Annotation>? metadata,
Token keyword,
SimpleIdentifier name,
TypeParameterList? typeParameters,
Token equals,
Token? abstractKeyword,
NamedType superclass,
WithClause withClause,
ImplementsClause? implementsClause,
Token semicolon);