public abstract class ProcedureN extends Procedure
N
-argument" Scheme procedures, where N>4
or variable.Modifier and Type | Field and Description |
---|---|
static java.lang.invoke.MethodHandle |
applyToObject |
static java.lang.Object[] |
noArgs |
applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKey
nameKey
Constructor and Description |
---|
ProcedureN() |
ProcedureN(boolean resultGoesToConsumer,
java.lang.invoke.MethodHandle applyMethod) |
ProcedureN(boolean resultGoesToConsumer,
java.lang.invoke.MethodHandle applyMethod,
java.lang.String n) |
ProcedureN(java.lang.invoke.MethodHandle applyMethod) |
ProcedureN(java.lang.invoke.MethodHandle applyMethod,
java.lang.String n) |
ProcedureN(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
applyToObject(Procedure proc,
CallContext ctx) |
apply0, apply1, apply2, apply3, apply4, applyL, applyN, applyToConsumerDefault, applyToObjectDefault, checkArgCount, checkBadCode, getApplyMethod, getApplyToConsumerMethod, getApplyToObjectMethod, getReturnType, getSetter, getSourceLocation, isSideEffectFree, lookupApplyHandle, maxArgs, maxArgs, minArgs, minArgs, numArgs, set0, set1, setN, setSetter, setSourceLocation, toString
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
public static final java.lang.Object[] noArgs
public static final java.lang.invoke.MethodHandle applyToObject
public ProcedureN()
public ProcedureN(java.lang.String name)
public ProcedureN(boolean resultGoesToConsumer, java.lang.invoke.MethodHandle applyMethod)
public ProcedureN(boolean resultGoesToConsumer, java.lang.invoke.MethodHandle applyMethod, java.lang.String n)
public ProcedureN(java.lang.invoke.MethodHandle applyMethod)
public ProcedureN(java.lang.invoke.MethodHandle applyMethod, java.lang.String n)
public static java.lang.Object applyToObject(Procedure proc, CallContext ctx) throws java.lang.Throwable
java.lang.Throwable