Declaration

Declaration

new Declaration()

A declaration statement (function, class, interface...)

Properties:
Name Type Description
name Identifier | string
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>
Source:

setTrailingComments(docs)

Attach comments to current node

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