Properties

Link copied to clipboard
open override val destructurableComponents: List<T>

Components that can be the result of a destructuring operation.

Link copied to clipboard
abstract override val unwrappedValue: Iterable<T>

The wrapped value.

Functions

Link copied to clipboard
abstract fun <T> accept(visitor: ExpressionVisitor<T>): T

Accepts a visitor.

abstract fun <O> accept(visitor: OutputValueVisitor<O>): O
Link copied to clipboard

Accepts a list of tokens to a shared visitor.

Link copied to clipboard

Chains two expressions together, which is used in ComposedExpressions.

Link copied to clipboard
open fun destructured(componentCount: Int): List<T>

Destructures this object into a list of components.

Link copied to clipboard
Link copied to clipboard

Groups a sequence of patterns into a single Regex where every capture group is identified by its token type (name).

Link copied to clipboard
open operator override fun iterator(): Iterator<T>