Foreach

Foreach

new Foreach()

Defines a foreach iterator

Properties:
Name Type Description
source Expression
key Expression | null
value Expression
body Statement
shortForm boolean
Source:
See:

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:

setTrailingComments(docs)

Attach comments to current node

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