| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectgnu.mapping.Proceduregnu.mapping.ProcedureNgnu.kawa.functions.AddOpFields inherited from class gnu.mapping.ProcedureN | |
noArgs | |
Constructor Summary | |
| |
Method Summary | |
static Object |
|
static Object |
|
static Object |
|
static Object |
|
static Object |
|
static Object |
|
Object |
|
static Object |
|
static Object |
|
static int | |
void |
|
Type |
|
Expression | |
static Expression |
|
static Expression |
|
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 static Object $Mn(Object arg1)
public static Object $Mn(Object arg1,
Object arg2)public static Object $Mn$V(Object arg1,
Object arg2,
Object arg3,
Object[] rest)public static Object $Pl(Object arg1,
Object arg2)public static Object $Pl$V(Object arg1,
Object arg2,
Object arg3,
Object[] rest)public static Object apply2(int plusOrMinus,
Object arg1,
Object arg2)public static Object applyN(int plusOrMinus,
Object init,
Object[] args)public static Object applyN(int plusOrMinus,
Object[] args)public static int classify(Type type)
Classify an expression according to its numeric type. kind==0: not a number. kind==1: a non-real number kind==2: real number kind==3: floating-point kind==4: exact integer
public void compile(ApplyExp exp, Compilation comp, Target target)
- Specified by:
- compile in interface Inlineable
public Type getReturnType(Expression[] args)
- Specified by:
- getReturnType in interface Inlineable
public static Expression pairwise(Procedure proc, Expression rproc, Expression[] args, ExpWalker walker)
Convert (PROC A B C) to (PROC (PROC A B) C) etc.