| java.lang.Object gnu.mapping.PropertySet gnu.mapping.Procedure gnu.mapping.ProcedureN gnu.mapping.MethodProc gnu.expr.GenericProc
GenericProc | public class GenericProc extends MethodProc (Code) | | A collection of MethodProcs; one is chosen at apply time.
|
Method Summary | |
protected synchronized void | add(MethodProc[] procs) | public synchronized void | add(MethodProc method) | public Object | applyN(Object[] args) | public int | isApplicable(Type[] args) | public static GenericProc | make(Object[] args) Create a GenericProc from one or more methods, plus properties. | public int | match0(CallContext ctx) | public int | match1(Object arg1, CallContext ctx) | public int | match2(Object arg1, Object arg2, CallContext ctx) | public int | match3(Object arg1, Object arg2, Object arg3, CallContext ctx) | public int | match4(Object arg1, Object arg2, Object arg3, Object arg4, CallContext ctx) | public int | matchN(Object[] args, CallContext ctx) | public int | numArgs() | final public void | setProperties(Object[] args) |
GenericProc | public GenericProc()(Code) | | |
isApplicable | public int isApplicable(Type[] args)(Code) | | |
make | public static GenericProc make(Object[] args)(Code) | | Create a GenericProc from one or more methods, plus properties.
|
numArgs | public int numArgs()(Code) | | |
setProperties | final public void setProperties(Object[] args)(Code) | | |
Methods inherited from gnu.mapping.Procedure | public void apply(CallContext ctx) throws Throwable(Code)(Java Doc) public static void apply(Procedure proc, CallContext ctx) throws Throwable(Code)(Java Doc) abstract public Object apply0() throws Throwable(Code)(Java Doc) abstract public Object apply1(Object arg1) throws Throwable(Code)(Java Doc) abstract public Object apply2(Object arg1, Object arg2) throws Throwable(Code)(Java Doc) abstract public Object apply3(Object arg1, Object arg2, Object arg3) throws Throwable(Code)(Java Doc) abstract public Object apply4(Object arg1, Object arg2, Object arg3, Object arg4) throws Throwable(Code)(Java Doc) abstract public Object applyN(Object[] args) throws Throwable(Code)(Java Doc) public void check0(CallContext ctx)(Code)(Java Doc) public void check1(Object arg1, CallContext ctx)(Code)(Java Doc) public void check2(Object arg1, Object arg2, CallContext ctx)(Code)(Java Doc) public void check3(Object arg1, Object arg2, Object arg3, CallContext ctx)(Code)(Java Doc) public void check4(Object arg1, Object arg2, Object arg3, Object arg4, CallContext ctx)(Code)(Java Doc) public static void checkArgCount(Procedure proc, int argCount)(Code)(Java Doc) public void checkN(Object[] args, CallContext ctx)(Code)(Java Doc) public Procedure getSetter()(Code)(Java Doc) public String getSourceLocation()(Code)(Java Doc) public int match0(CallContext ctx)(Code)(Java Doc) public int match1(Object arg1, CallContext ctx)(Code)(Java Doc) public int match2(Object arg1, Object arg2, CallContext ctx)(Code)(Java Doc) public int match3(Object arg1, Object arg2, Object arg3, CallContext ctx)(Code)(Java Doc) public int match4(Object arg1, Object arg2, Object arg3, Object arg4, CallContext ctx)(Code)(Java Doc) public int matchN(Object[] args, CallContext ctx)(Code)(Java Doc) final public int maxArgs()(Code)(Java Doc) final public int minArgs()(Code)(Java Doc) public int numArgs()(Code)(Java Doc) public void set0(Object result) throws Throwable(Code)(Java Doc) public void set1(Object arg1, Object value) throws Throwable(Code)(Java Doc) public void setN(Object[] args) throws Throwable(Code)(Java Doc) public void setSetter(Procedure setter)(Code)(Java Doc) public void setSourceLocation(String file, int line)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|