InfiniteLoopNode

class InfiniteLoopNode(body: BlockNode, jumpLabel: JumpLabelNode?, sourceLocation: SourceLocation, comment: String?) : LoopNode

Executing a statement until a break statement is encountered.

Constructors

InfiniteLoopNode
Link copied to clipboard
fun InfiniteLoopNode(body: BlockNode, jumpLabel: JumpLabelNode?, sourceLocation: SourceLocation, comment: String? = null)

Functions

toDocument
Link copied to clipboard
override fun toDocument(): Document

Properties

body
Link copied to clipboard
open override val body: BlockNode

Statements to execute repeatedly.

comment
Link copied to clipboard
open override val comment: String? = null
jumpLabel
Link copied to clipboard
open override val jumpLabel: JumpLabelNode?

A label for the loop that break nodes can refer to.

sourceLocation
Link copied to clipboard
open override val sourceLocation: SourceLocation