classTypeAlias abstract method
ClassTypeAlias
classTypeAlias(
- Comment? comment,
- List<
Annotation> ? metadata, - Token keyword,
- SimpleIdentifier name,
- TypeParameterList? typeParameters,
- Token equals,
- Token? abstractKeyword,
- Token? macroKeyword,
- Token? augmentKeyword,
- 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 macroKeyword
can be null
if the class
is not a macro class. The augmentKeyword
can be null
if the class is
not an augmentation class. 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,
Token? macroKeyword,
Token? augmentKeyword,
NamedType superclass,
WithClause withClause,
ImplementsClause? implementsClause,
Token semicolon);