ElifNode

data class ElifNode(lineNumber: Int, scope: Int, condition: ExpressionNode, statements: List<StatementNode>) : StatementBlock

Elif node

Constructors

ElifNode
Link copied to clipboard
fun ElifNode(lineNumber: Int, scope: Int, condition: ExpressionNode, statements: List<StatementNode>)
Create empty Elif node

Functions

component1
Link copied to clipboard
operator fun component1(): Int
component2
Link copied to clipboard
operator fun component2(): Int
component3
Link copied to clipboard
operator fun component3(): ExpressionNode
component4
Link copied to clipboard
operator fun component4(): List<StatementNode>
copy
Link copied to clipboard
fun copy(lineNumber: Int, scope: Int, condition: ExpressionNode, statements: List<StatementNode>): ElifNode
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

condition
Link copied to clipboard
val condition: ExpressionNode
lineNumber
Link copied to clipboard
open override val lineNumber: Int
scope
Link copied to clipboard
open override val scope: Int
statements
Link copied to clipboard
open override val statements: List<StatementNode>