gnu.expr
public class ModuleMethod extends MethodProc
| Field Summary | |
|---|---|
| ModuleBody | module |
| protected int | numArgs |
| int | selector |
| Constructor Summary | |
|---|---|
| ModuleMethod(ModuleBody module, int selector, Object name, int numArgs) | |
| ModuleMethod(ModuleBody module, int selector, Object name, int numArgs, Object argTypes) | |
| Method Summary | |
|---|---|
| void | apply(CallContext ctx) |
| Object | apply0() |
| static Object | apply0Default(ModuleMethod method) |
| Object | apply1(Object arg1) |
| static Object | apply1Default(ModuleMethod method, Object arg1) |
| Object | apply2(Object arg1, Object arg2) |
| static Object | apply2Default(ModuleMethod method, Object arg1, Object arg2) |
| Object | apply3(Object arg1, Object arg2, Object arg3) |
| static Object | apply3Default(ModuleMethod method, Object arg1, Object arg2, Object arg3) |
| Object | apply4(Object arg1, Object arg2, Object arg3, Object arg4) |
| static Object | apply4Default(ModuleMethod method, Object arg1, Object arg2, Object arg3, Object arg4) |
| static void | applyError() Helper methods for default ModuleBody actions. |
| Object | applyN(Object[] args) |
| static Object | applyNDefault(ModuleMethod method, Object[] args) |
| int | match0(CallContext ctx) |
| int | match1(Object arg1, CallContext ctx) |
| int | match2(Object arg1, Object arg2, CallContext ctx) |
| int | match3(Object arg1, Object arg2, Object arg3, CallContext ctx) |
| int | match4(Object arg1, Object arg2, Object arg3, Object arg4, CallContext ctx) |
| int | matchN(Object[] args, CallContext ctx) |
| int | numArgs() |
| protected void | resolveParameterTypes() Figure out parameter types.
|