Skip to content

Interface ForExpressionNode ​

Source: shellAST.ts

A C-style for loop structure with a setup, condition and step.

Extends ​

Properties ​

redirections? ​

optional redirections?: RedirectionNode[]

An optional list of redirections to apply to this execution unit.

Inherited from ​

BaseLoopNode.redirections


body ​

body: Block

The block to execute for every iteration.

Inherited from ​

BaseLoopNode.body


type ​

type: ForExpression

The type of this node.

Overrides ​

BaseLoopNode.type


setup ​

setup: ArithmeticNode

The node to execute before the loop.


condition ​

condition: ArithmeticNode

The condition that determines whether the loop should continue.


step ​

step: ArithmeticNode

The node to execute after each iteration of the loop.

Built by Prozilla