ForStatementNode

data class ForStatementNode(lineNumber: Int, endLineNumber: Int, scope: Int, beginStatement: DeclarationNode, endCondition: ExpressionNode, updateCounter: AssignmentNode, statements: List<StatementNode>) : LoopNode

For statement node

Constructors

ForStatementNode
Link copied to clipboard
fun ForStatementNode(lineNumber: Int, endLineNumber: Int, scope: Int, beginStatement: DeclarationNode, endCondition: ExpressionNode, updateCounter: AssignmentNode, statements: List<StatementNode>)
Create empty For 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(): DeclarationNode
component5
Link copied to clipboard
operator fun component5(): ExpressionNode
component6
Link copied to clipboard
operator fun component6(): AssignmentNode
component7
Link copied to clipboard
operator fun component7(): List<StatementNode>
copy
Link copied to clipboard
fun copy(lineNumber: Int, endLineNumber: Int, scope: Int, beginStatement: DeclarationNode, endCondition: ExpressionNode, updateCounter: AssignmentNode, statements: List<StatementNode>): ForStatementNode
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

beginStatement
Link copied to clipboard
val beginStatement: DeclarationNode
endCondition
Link copied to clipboard
val endCondition: 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>
updateCounter
Link copied to clipboard
val updateCounter: AssignmentNode