UncheckedFunctionCall

data class UncheckedFunctionCall<T : OutputValue<*>>(val name: String, val resolve: () -> FunctionCall<T>?) : Expression

Wrapper/delegate for a FunctionCall whose referenced function may or may not have been resolved. If the result of resolve is null, the function wasn't resolved, and the delegate methods throw UnresolvedReferenceException, which is then caught by upper layers.

Parameters

name

name of the function call, shown in unresolved reference error messages

resolve

supplier of the optional call, looked up by name

T

expected output type of the function

Constructors

Link copied to clipboard
constructor(name: String, resolve: () -> FunctionCall<T>?)

Properties

Link copied to clipboard
Link copied to clipboard
val resolve: () -> FunctionCall<T>?

Functions

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

Chains two expressions together, which is used in ComposedExpressions.

Link copied to clipboard
Link copied to clipboard
fun execute(): T