lin
/
com.github.adriantodt.lin.ast.node.control
/
IfNode
If
Node
data class
IfNode
(condition:
Expr
, thenBranch:
Node
, elseBranch:
Node
?, section:
Section
?) :
Node
Content copied to clipboard
Functions
Properties
Functions
accept
Link copied to clipboard
open override fun
accept
(visitor:
NodeMapVisitor
):
Node
Content copied to clipboard
open override fun
accept
(visitor:
NodeVisitor
)
Content copied to clipboard
open override fun <
R
>
accept
(visitor:
NodeVisitorR
<
R
>):
R
Content copied to clipboard
open override fun <
T
>
accept
(visitor:
NodeVisitor1
<
T
>, param0:
T
)
Content copied to clipboard
span
Link copied to clipboard
open fun
span
(other:
Sectional
):
Section
?
Content copied to clipboard
Properties
condition
Link copied to clipboard
val
condition
:
Expr
Content copied to clipboard
elseBranch
Link copied to clipboard
val
elseBranch
:
Node
?
Content copied to clipboard
section
Link copied to clipboard
open override val
section
:
Section
? = null
Content copied to clipboard
thenBranch
Link copied to clipboard
val
thenBranch
:
Node
Content copied to clipboard