genericTypeAlias abstract method
GenericTypeAlias
genericTypeAlias(
- Comment? comment,
- List<
Annotation> ? metadata, - Token typedefKeyword,
- SimpleIdentifier name,
- TypeParameterList? typeParameters,
- Token equals,
- TypeAnnotation type,
- Token semicolon,
Returns a newly created generic type alias. Either or both of the
comment
and metadata
can be null
if the variable list does not have
the corresponding attribute. The typeParameters
can be null
if there
are no type parameters.
Implementation
GenericTypeAlias genericTypeAlias(
Comment? comment,
List<Annotation>? metadata,
Token typedefKeyword,
SimpleIdentifier name,
TypeParameterList? typeParameters,
Token equals,
TypeAnnotation type,
Token semicolon);