gnu.kawa.functions
Class MultiplyOp
java.lang.Object
gnu.mapping.PropertySet
gnu.mapping.Procedure
gnu.mapping.ProcedureN
gnu.kawa.functions.MultiplyOp
- All Implemented Interfaces:
- CanInline, Named
public class MultiplyOp
- extends ProcedureN
- implements CanInline
Implement the Scheme standard function "*".
Constructor Summary |
MultiplyOp(java.lang.String name)
|
Method Summary |
static java.lang.Object |
apply(java.lang.Object arg1,
java.lang.Object arg2)
|
java.lang.Object |
applyN(java.lang.Object[] args)
|
Expression |
inline(ApplyExp exp,
ExpWalker walker)
Inline an application of this Procedure and return result. |
Methods inherited from class gnu.mapping.Procedure |
apply, apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getSetter, getSourceLocation, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, numArgs, set0, set1, setN, setSetter, setSourceLocation, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
$St
public static final MultiplyOp $St
MultiplyOp
public MultiplyOp(java.lang.String name)
apply
public static java.lang.Object apply(java.lang.Object arg1,
java.lang.Object arg2)
applyN
public java.lang.Object applyN(java.lang.Object[] args)
- Specified by:
applyN
in class ProcedureN
inline
public Expression inline(ApplyExp exp,
ExpWalker walker)
- Description copied from interface:
CanInline
- Inline an application of this Procedure and return result.
Can return original expression.
- Specified by:
inline
in interface CanInline