functionTypeAlias abstract method
FunctionTypeAlias
functionTypeAlias(
- Comment? comment,
- List<
Annotation> ? metadata, - Token keyword,
- TypeAnnotation? returnType,
- SimpleIdentifier name,
- TypeParameterList? typeParameters,
- FormalParameterList parameters,
- Token semicolon,
Returns a newly created function type alias. Either or both of the
comment
and metadata
can be null
if the function does not have the
corresponding attribute. The returnType
can be null
if no return type
was specified. The typeParameters
can be null
if the function has no
type parameters.
Implementation
FunctionTypeAlias functionTypeAlias(
Comment? comment,
List<Annotation>? metadata,
Token keyword,
TypeAnnotation? returnType,
SimpleIdentifier name,
TypeParameterList? typeParameters,
FormalParameterList parameters,
Token semicolon);