ix.util.lisp
Class ItemVar
java.lang.Object
ix.util.lisp.Symbol
ix.util.lisp.ItemVar
- All Implemented Interfaces:
- LispObject, SemiPrimitive, java.io.Serializable, java.lang.Comparable
public class ItemVar
- extends Symbol
Symbols used in patterns as variables that match a single object.
- See Also:
- Serialized Form
Constructor Summary |
protected |
ItemVar(java.lang.String name)
|
Method Summary |
protected static java.lang.Object |
renameItemVars(java.util.HashMap map,
java.lang.Object tree)
|
static java.lang.Object |
renameItemVars(java.lang.Object tree)
Returns a copy of the tree in which every ItemVar is replaced
by an ItemVar that did not exist before this call to this method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
varGen
protected static Gensym.Generator varGen
ItemVar
protected ItemVar(java.lang.String name)
renameItemVars
public static java.lang.Object renameItemVars(java.lang.Object tree)
- Returns a copy of the tree in which every ItemVar is replaced
by an ItemVar that did not exist before this call to this method.
renameItemVars
protected static java.lang.Object renameItemVars(java.util.HashMap map,
java.lang.Object tree)