Interface IfNode
Source: shellAST.ts
Represents a conditional branching structure.
Extends
Properties
redirections?
optionalredirections?:RedirectionNode[]
An optional list of redirections to apply to this execution unit.
Inherited from
BaseRedirectionNode.redirections
type
type:
If
The type of this node.
Overrides
ifBranch
ifBranch:
ConditionalBlockNode
The primary conditional branch.
elifBranches
elifBranches:
ConditionalBlockNode[]
An array of additional conditional branches.
elseBranch
elseBranch:
Block
The block to execute if no conditions are met.