ConstructorOp

Represents the constructor of a class.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val ownerClassFqn: String
Link copied to clipboard
Link copied to clipboard

stores all different signatures of the constructor.

Functions

Link copied to clipboard
fun add(signature: Signature)
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Adds an alternation token (|) between the current OrderFragment and other. All OrderToken are converted into OrderFragments.

Link copied to clipboard
fun ConstructorOp.signature(vararg parameters: Parameter): Signature

Create a Signature which can be added to the ConstructorOp. The Parameters are passed through the vararg.

inline fun ConstructorOp.signature(block: Signature.() -> Unit): Signature

Create a Signature which can be added to the ConstructorOp. The Parameters are defined in the block.

Link copied to clipboard
open override fun toNode(): TerminalOrderNode

Convert this OrderFragment to a binary syntax tree

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
infix fun Op.with(conditionOp: Op): ConditionalOp