gnu.kawa.functions
Class MultiplyOp

java.lang.Object
  extended by gnu.mapping.PropertySet
      extended by gnu.mapping.Procedure
          extended by gnu.mapping.ProcedureN
              extended by gnu.kawa.functions.MultiplyOp
All 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(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.ProcedureN
apply0, apply1, apply2, apply3, apply4
 
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 gnu.mapping.PropertySet
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

$St

public static final MultiplyOp $St
Constructor Detail

MultiplyOp

public MultiplyOp(java.lang.String name)
Method Detail

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