public abstract class FunctionalTerm extends Term
Term.Operations
Modifier and Type | Field and Description |
---|---|
(package private) static int |
_as_symbol |
static int |
as_symbol_ID |
static Integer |
ID |
_sm_simplified_term, sm_simplified_term_ID
_nodes, _observers, _operations, _thisoperations
Constructor and Description |
---|
FunctionalTerm(int capacity,
Symbol as_symbol) |
Modifier and Type | Method and Description |
---|---|
Symbol |
as_symbol() |
void |
as_symbol(Symbol s) |
void |
copyValueOf(Node n,
HashMap clones) |
Object |
getAttribute(int attrname) |
int |
getClassID()
This method return the dynamic class ID of the node.
|
Node.Operations |
getOperations()
This method returns the object implementing the operations associated to this node.
|
boolean |
hasAttribute(int attrname) |
void |
setAttribute(int attrname,
Object attrvalue) |
getSimplifiedTerm, instantiate, match, simplify, sm_simplified_term, sm_simplified_term
accept, addObserver, addOperations, children, childrenAccept, childrenOfKind, childrenOfKind, childrenOfKind, compare, compareTo, copyValueOf, dofind, dump, equals, find, find, find, find, getAttribute, getClone, getClone, hasAttribute, initNode, installOperations, notifyChanges, removeObserver, replace, setAttribute, toString
public static Integer ID
static int _as_symbol
public static int as_symbol_ID
public FunctionalTerm(int capacity, Symbol as_symbol)
public int getClassID()
Node
getClassID
in class Term
public void copyValueOf(Node n, HashMap clones)
copyValueOf
in class Term
public Node.Operations getOperations()
Node
getOperations
in class Term
public Symbol as_symbol()
public void as_symbol(Symbol s)
public boolean hasAttribute(int attrname)
hasAttribute
in class Term
public Object getAttribute(int attrname)
getAttribute
in class Term
public void setAttribute(int attrname, Object attrvalue)
setAttribute
in class Term