AssertionNode

class AssertionNode(condition: ExpressionNode, sourceLocation: SourceLocation, comment: String?) : StatementNode

Asserting that a condition is true, and failing otherwise.

Constructors

AssertionNode
Link copied to clipboard
fun AssertionNode(condition: ExpressionNode, sourceLocation: SourceLocation, comment: String? = null)

Functions

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

Properties

comment
Link copied to clipboard
open override val comment: String? = null
condition
Link copied to clipboard
val condition: ExpressionNode
sourceLocation
Link copied to clipboard
open override val sourceLocation: SourceLocation