Skip to content

Class: For

Represents a for-loop control structure for iterating over a sequence or range.

Constructors

Constructor

new For(body, statements, loc?): For

Parameters

ParameterType
bodyExpression
statementsStatement[]
loc?SourceLocation

Returns

For

Overrides

ASTNode.constructor