Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
gnu.mapping.Procedure
gnu.mapping.Procedure0
gnu.expr.ModuleBody
gnu.expr.ModuleWithContext
public abstract class ModuleWithContext
extends ModuleBody
Field Summary |
Fields inherited from class gnu.expr.ModuleBody | |
runDone |
Method Summary | |
Object |
|
Object |
|
Object |
|
Object |
|
Object |
|
Object |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
Methods inherited from class gnu.expr.ModuleBody | |
apply , apply0 , apply0 , apply1 , apply2 , apply3 , apply4 , applyN , getMainPrintValues , match0 , match1 , match2 , match3 , match4 , matchN , processArgs , run , run , run , runAsMain , runAsMain , runCleanup , setMainPrintValues |
Methods inherited from class gnu.mapping.Procedure0 | |
apply0 , apply1 , apply2 , apply3 , apply4 , applyN , numArgs |
Methods inherited from class gnu.mapping.Procedure | |
apply , apply , apply0 , apply1 , apply2 , apply3 , apply4 , applyN , check0 , check1 , check2 , check3 , check4 , checkArgCount , checkN , getName , getProperty , getSetter , getSymbol , match0 , match1 , match2 , match3 , match4 , matchN , maxArgs , minArgs , name , numArgs , removeProperty , set0 , set1 , setN , setName , setProperty , setProperty , setSetter , setSymbol , toString |
public Object apply0(ModuleMethod method) throws Throwable
A subclass will typically override this like: switch (method.selector) { case 3: return function3(); case 5: return function5(); default: super.apply0(method); }
- Overrides:
- apply0 in interface ModuleBody
public Object apply1(ModuleMethod method, Object arg1) throws Throwable
- Overrides:
- apply1 in interface ModuleBody
public Object apply2(ModuleMethod method, Object arg1, Object arg2) throws Throwable
- Overrides:
- apply2 in interface ModuleBody
public Object apply3(ModuleMethod method, Object arg1, Object arg2, Object arg3) throws Throwable
- Overrides:
- apply3 in interface ModuleBody
public Object apply4(ModuleMethod method, Object arg1, Object arg2, Object arg3, Object arg4) throws Throwable
- Overrides:
- apply4 in interface ModuleBody
public Object applyN(ModuleMethod method, Object[] args) throws Throwable
- Overrides:
- applyN in interface ModuleBody
public int match1(ModuleMethod proc, Object arg1, CallContext ctx)
- Overrides:
- match1 in interface ModuleBody
public int match2(ModuleMethod proc, Object arg1, Object arg2, CallContext ctx)
- Overrides:
- match2 in interface ModuleBody
public int match3(ModuleMethod proc, Object arg1, Object arg2, Object arg3, CallContext ctx)
- Overrides:
- match3 in interface ModuleBody
public int match4(ModuleMethod proc, Object arg1, Object arg2, Object arg3, Object arg4, CallContext ctx)
- Overrides:
- match4 in interface ModuleBody
public int matchN(ModuleMethod proc, Object[] args, CallContext ctx)
- Overrides:
- matchN in interface ModuleBody