public static interface LibraryOperation.LibraryOperationExtension extends LibraryOperation
LibraryOperation.LibraryOperationExtension, LibraryOperation.LibraryOperationExtension2
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
dispatch(Executor executor,
OperationCallExp callExp,
java.lang.Object sourceValue)
Return the result of evaluating callExp and its arguments upon sourceValue within the environment
provided by evaluator.
|
dispatch
@Nullable java.lang.Object dispatch(@NonNull Executor executor, @NonNull OperationCallExp callExp, @Nullable java.lang.Object sourceValue)
This invocation evaluates the arguments as required. Derived implementations may implement short circuit processing to skip redundant evaluation of later arguments.
Invocations may bypass dispatch if a derived LibraryOperation such as LibrarySimpleBinaryOperation makes its internal evaluate signature available for use after a type test and cast.