classTypeAlias abstract method

ClassTypeAlias classTypeAlias(
  1. Comment? comment,
  2. List<Annotation>? metadata,
  3. Token keyword,
  4. SimpleIdentifier name,
  5. TypeParameterList? typeParameters,
  6. Token equals,
  7. Token? abstractKeyword,
  8. NamedType superclass,
  9. WithClause withClause,
  10. ImplementsClause? implementsClause,
  11. 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);