Skip to content

Interface ConditionalBlockNode

Source: shellAST.ts

Represents a pairing of a condition and a code block. Used for the primary IF branch and subsequent ELIF branches.

Extends

Properties

condition

condition: ExecutableNode

Inherited from

BaseConditionNode.condition


type

type: ConditionalBlock

The type of this node.

Overrides

BaseConditionNode.type


thenBranch

thenBranch: Block

The block to execute if the condition returns EXIT_CODE.success.

Built by Prozilla