AssertionNode

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

Asserting that a condition is true, and failing otherwise.

Constructors

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

Functions

Link copied to clipboard
override fun toDocument(): Document

Properties

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