Class FunctionType

Abstract base class for all "function-like" AST nodes. This includes function names, function pointers, event/error modifier name as well as references to some of the builtins

Hierarchy (view full)

Constructors

Properties

id: number
implicitFirstArg: boolean

If this function type corresponds to a library function bound to a type with a using for directive, the first argument is implicitly the object on which the function is invoked.

name: undefined | string
parameters: TypeNode[]
returns: TypeNode[]

The type for external functions includes the name, as its used for computing the canonical signature.

src?: Range
visibility: FunctionVisibility

Accessors

Methods

Generated using TypeDoc