🚧 Still under progress. Soon will be finished.

ExpressionWithTypeArgumentsNode

CLASS code

Description

Represents the reflected node of a type in the heritage chain of a class or interface declaration

Methods

  • getContext

    code

    The context includes useful APIs that are shared across all the reflected symbols. Some APIs include the parsed configuration options, the system interface, the type checker

    getContext(): ProjectContext

    Returns

    ProjectContext:

    The analyser context

  • getTSNode

    code

    The TypeScript AST node that is associated with the reflected one

    getTSNode(): ExpressionWithTypeArguments

    Returns

    ExpressionWithTypeArguments:

    The internal TypeScript node

  • getName

    code
    getName(): string

    Returns

    string:
  • getTypeArguments

    code
    getTypeArguments(): ReflectedTypeNode<TypeNode>[]

    Returns

    ReflectedTypeNode<TypeNode>[]:
  • getPath

    code
    getPath(): string

    Returns

    string:
  • getLine

    code
    getLine(): number | null

    Returns

    number | null:
  • serialize

    code

    Serializes the reflected node

    serialize(): ExpressionWithTypeArguments

    Returns

    ExpressionWithTypeArguments:

    The reflected node as a serializable object