public class SymbolNode extends Symbol
Node.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 |
_nodes, _observers, _operations, _thisoperations
Constructor and Description |
---|
SymbolNode() |
SymbolNode(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) |
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 SymbolNode(String lx_value, int lx_hashcode)
public SymbolNode()
public final int getClassID()
Node
getClassID
in class Symbol
public void accept(Visitor visitor)
Node
public void copyValueOf(Node n, HashMap clones)
copyValueOf
in class Symbol
public Node.Operations getOperations()
Node
getOperations
in class Symbol
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 Node
public Object getAttribute(int attrname)
getAttribute
in class Node
public void setAttribute(int attrname, Object attrvalue)
setAttribute
in class Node