gnu.kawa.functions
Class IsEqv

java.lang.Object
  extended by gnu.mapping.PropertySet
      extended by gnu.mapping.Procedure
          extended by gnu.mapping.Procedure2
              extended by gnu.kawa.functions.IsEqv
All Implemented Interfaces:
CanInline, Named

public class IsEqv
extends Procedure2
implements CanInline

Implement that standard Scheme function "eqv?".


Field Summary
 
Fields inherited from class gnu.mapping.PropertySet
nameKey
 
Constructor Summary
IsEqv(Language language, java.lang.String name, IsEq isEq)
           
 
Method Summary
static boolean apply(java.lang.Object arg1, java.lang.Object arg2)
           
 java.lang.Object apply2(java.lang.Object arg1, java.lang.Object arg2)
           
 Expression inline(ApplyExp exp, InlineCalls walker, boolean argsInlined)
          Inline an application of this Procedure and return result.
 
Methods inherited from class gnu.mapping.Procedure2
apply0, apply1, apply3, apply4, applyN, numArgs
 
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, 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
 

Constructor Detail

IsEqv

public IsEqv(Language language,
             java.lang.String name,
             IsEq isEq)
Method Detail

apply

public static boolean apply(java.lang.Object arg1,
                            java.lang.Object arg2)

apply2

public java.lang.Object apply2(java.lang.Object arg1,
                               java.lang.Object arg2)
Specified by:
apply2 in class Procedure2

inline

public Expression inline(ApplyExp exp,
                         InlineCalls walker,
                         boolean argsInlined)
Description copied from interface: CanInline
Inline an application of this Procedure and return result. Unless argsInlined is true, then this method is responsible for walking exp.getArgs(); you can handle this using exp.getArgs(walker, argsInlined). (The exp.getFunction() has been walked, regardless.)

Specified by:
inline in interface CanInline
argsInlined - true if the arguments have been inlined. Can return original expression.