Package com.github.adriantodt.lin.ast.node.control

Types

BreakExpr
Link copied to clipboard
data class BreakExpr(section: Section?) : Expr
CatchBranch
Link copied to clipboard
data class CatchBranch(caughtName: String?, branch: Node)

This is part of TryExpr.

ContinueExpr
Link copied to clipboard
data class ContinueExpr(section: Section?) : Expr
DoWhileNode
Link copied to clipboard
data class DoWhileNode(body: Node?, condition: Expr, section: Section?) : Node
ForNode
Link copied to clipboard
data class ForNode(variableName: String, iterable: Expr, body: Node, section: Section?) : Node
IfExpr
Link copied to clipboard
data class IfExpr(condition: Expr, thenBranch: Expr, elseBranch: Expr, section: Section?) : Expr
IfNode
Link copied to clipboard
data class IfNode(condition: Expr, thenBranch: Node, elseBranch: Node?, section: Section?) : Node
ReturnExpr
Link copied to clipboard
data class ReturnExpr(value: Expr, section: Section?) : Expr
ThrowExpr
Link copied to clipboard
data class ThrowExpr(value: Expr, section: Section?) : Expr
TryExpr
Link copied to clipboard
data class TryExpr(tryBranch: Node, catchBranch: CatchBranch?, finallyBranch: Node?, section: Section?) : Expr
WhileNode
Link copied to clipboard
data class WhileNode(condition: Expr, body: Node?, section: Section?) : Node