Skip to content

Interface ForInNode ​

Source: shellAST.ts

Represents a for loop structure for iterating over a list of items.

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: ForIn

The type of this node.

Overrides ​

BaseLoopNode.type


variableName ​

variableName: string

The name of the environment variable assigned to the current item.


items ​

items: Argument[]

The list of raw strings or patterns to iterate over.

Built by Prozilla