gnu.kawa.functions

Class MultiplyOp

Implemented Interfaces:
CanInline, Named

public class MultiplyOp
extends ProcedureN
implements CanInline

Implement the Scheme standard function "*".

Field Summary

static MultiplyOp
$St

Fields inherited from class gnu.mapping.ProcedureN

noArgs

Constructor Summary

MultiplyOp(String name)

Method Summary

static Object
apply(Object arg1, Object arg2)
Object
applyN(Object[] args)
Expression
inline(ApplyExp exp, ExpWalker walker)
Inline an application of this Procedure and return result.

Methods inherited from class gnu.mapping.ProcedureN

apply0, apply1, apply2, apply3, apply4, applyN

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

Field Details

$St

public static final MultiplyOp $St

Constructor Details

MultiplyOp

public MultiplyOp(String name)

Method Details

apply

public static Object apply(Object arg1,
                           Object arg2)

applyN

public Object applyN(Object[] args)
Overrides:
applyN in interface ProcedureN

inline

public Expression inline(ApplyExp exp,
                         ExpWalker walker)
Inline an application of this Procedure and return result. Can return original expression.
Specified by:
inline in interface CanInline