FunctionOp

Represents a group of functions that serve the same purpose in the API.

Two FunctionOps will be considered equal if they have the same definitions. This means that structure of the FunctionOps have to be equal as well as the Definition.fqns but not the actual Parameters that are stored in the Signatures.

Properties

Link copied to clipboard
Link copied to clipboard

stores all definitions for the different functions

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

Functions

Link copied to clipboard
fun add(definition: Definition)
Link copied to clipboard
inline fun FunctionOp.definition(fqn: String, block: Definition.() -> Unit): Definition

Create a Definition which can be added to the FunctionOp.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Two FunctionOps will be considered equal if they have the same definitions. This means that structure of the FunctionOps have to be equal as well as the Definition.fqns but not the actual Parameters that are stored in the Signatures.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
operator fun String.invoke(block: Definition.() -> Unit): Definition
Link copied to clipboard

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

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