Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FunctionDeclaration

Function declaration. Like the MethodDeclaration it contains the base info about the function and additional stuff.

export
class

FunctionDeclaration

implements

{CallableDeclaration}

implements

{ExportableDeclaration}

Hierarchy

  • FunctionDeclaration

Implements

Index

Constructors

constructor

  • new FunctionDeclaration(name: string, isExported: boolean, isAsync: boolean, type?: undefined | string, start?: undefined | number, end?: undefined | number): FunctionDeclaration

Properties

Optional end

end: undefined | number

isAsync

isAsync: boolean

isExported

isExported: boolean

name

name: string

parameters

parameters: ParameterDeclaration[] = []

Optional start

start: undefined | number

Optional type

type: undefined | string

variables

variables: VariableDeclaration[] = []

Generated using TypeDoc