public class WordConstantNode extends StringConstant
Constant.Operations
Modifier and Type | Field and Description |
---|---|
(package private) int |
_lx_hashcode |
(package private) String |
_lx_value |
static Integer |
ID |
static int |
lx_hashcode_ID |
static int |
lx_value_ID |
_sm_simplified_term, sm_simplified_term_ID
_nodes, _observers, _operations, _thisoperations
Constructor and Description |
---|
WordConstantNode() |
WordConstantNode(String lx_value,
int lx_hashcode) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
This method is part of the implementation of the visitor design pattern.
|
void |
copyValueOf(Node n,
HashMap clones) |
Object |
getAttribute(int attrname) |
int |
getClassID()
This method return the dynamic class ID of the node.
|
Node |
getClone(HashMap clones) |
Node.Operations |
getOperations()
This method returns the object implementing the operations associated to this node.
|
boolean |
hasAttribute(int attrname) |
int |
lx_hashcode() |
void |
lx_hashcode(int o) |
String |
lx_value() |
void |
lx_value(String o) |
void |
setAttribute(int attrname,
Object attrvalue) |
byteValue, intValue, realValue, stringValue
getSimplifiedTerm, instantiate, match, simplify, sm_simplified_term, sm_simplified_term
addObserver, addOperations, children, childrenAccept, childrenOfKind, childrenOfKind, childrenOfKind, compare, compareTo, copyValueOf, dofind, dump, equals, find, find, find, find, getAttribute, getClone, hasAttribute, initNode, installOperations, notifyChanges, removeObserver, replace, setAttribute, toString
public static Integer ID
String _lx_value
int _lx_hashcode
public static int lx_value_ID
public static int lx_hashcode_ID
public WordConstantNode(String lx_value, int lx_hashcode)
public WordConstantNode()
public final int getClassID()
Node
getClassID
in class StringConstant
public void accept(Visitor visitor)
Node
public void copyValueOf(Node n, HashMap clones)
copyValueOf
in class StringConstant
public Node.Operations getOperations()
Node
getOperations
in class StringConstant
public String lx_value()
public void lx_value(String o)
public int lx_hashcode()
public void lx_hashcode(int o)
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