TerminalOrderNode

data class TerminalOrderNode(val baseName: String, val opName: String) : OrderNode(source)

Represents an OrderToken.

Constructors

Link copied to clipboard
constructor(baseName: String, opName: String)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun applyToAll(block: OrderNode.() -> Unit)

Apply the given block to each OrderNode in this OrderNode. Uses Depth First Search (DFS).

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(): OrderNode

Convert this OrderNode to a binary syntax tree