IfNode
class IfNode(guard: ExpressionNode, thenBranch: BlockNode, elseBranch: BlockNode, sourceLocation: SourceLocation, comment: String?) : StatementNode
Content copied to clipboard
Executing statements conditionally.
Parameters
thenBranch
Statement to execute if the guard is true.
elseBranch
Statement to execute if the guard is false.
Constructors
IfNode
Link copied to clipboard
fun IfNode(guard: ExpressionNode, thenBranch: BlockNode, elseBranch: BlockNode, sourceLocation: SourceLocation, comment: String? = null)
Content copied to clipboard
Functions
toDocument
Link copied to clipboard
Properties
elseBranch
Link copied to clipboard
guard
Link copied to clipboard
sourceLocation
Link copied to clipboard
thenBranch
Link copied to clipboard