WhileStatementNode

data class WhileStatementNode(lineNumber: Int, endLineNumber: Int, scope: Int, condition: ExpressionNode, statements: List<StatementNode>) : LoopNode

While statement node

Constructors

WhileStatementNode
Link copied to clipboard
fun WhileStatementNode(lineNumber: Int, endLineNumber: Int, scope: Int, condition: ExpressionNode, statements: List<StatementNode>)
Create empty While statement 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(): Int
component4
Link copied to clipboard
operator fun component4(): ExpressionNode
component5
Link copied to clipboard
operator fun component5(): List<StatementNode>
copy
Link copied to clipboard
fun copy(lineNumber: Int, endLineNumber: Int, scope: Int, condition: ExpressionNode, statements: List<StatementNode>): WhileStatementNode
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
endLineNumber
Link copied to clipboard
open override val endLineNumber: Int
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>