Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MethodDeclaration

Method declaration. A method is contained in an interface or a class. Contains information abount the method itself.

export
class

MethodDeclaration

implements

{CallableDeclaration}

implements

{ScopedDeclaration}

implements

{TypedDeclaration}

Hierarchy

  • MethodDeclaration

Implements

Index

Constructors

constructor

  • new MethodDeclaration(name: string, isAbstract: boolean, visibility: DeclarationVisibility | undefined, type: string | undefined, isOptional: boolean, isStatic: boolean, isAsync: boolean, start?: undefined | number, end?: undefined | number): MethodDeclaration

Properties

Optional end

end: undefined | number

isAbstract

isAbstract: boolean

isAsync

isAsync: boolean

isOptional

isOptional: boolean

isStatic

isStatic: boolean

name

name: string

parameters

parameters: ParameterDeclaration[] = []

Optional start

start: undefined | number

type

type: string | undefined

variables

variables: VariableDeclaration[] = []

visibility

visibility: DeclarationVisibility | undefined

Generated using TypeDoc