Function

Function

new Function()

Defines a classic function

Properties:
Name Type Description
arguments Array.<Parameter>
type Identifier
byref boolean
nullable boolean
body Block | null
Source:

Extends

Methods

destroy()

Destroying an unused node

Inherited From:
Source:

includeToken(parser)

Includes current token position of the parser

Parameters:
Name Type Description
parser *
Inherited From:
Source:

parseFlags(flags) → {void}

Generic flags parser

Parameters:
Name Type Description
flags Array.<Integer>
Inherited From:
Source:

setTrailingComments(docs)

Attach comments to current node

Parameters:
Name Type Description
docs *
Inherited From:
Source: