| Modifier and Type | Field and Description |
|---|---|
protected Node[] |
children
The children.
|
protected int |
id
The id.
|
protected Node |
parent
The parent.
|
protected OWLFunctionalSyntaxParser |
parser
The parser.
|
protected Object |
value
The value.
|
| Constructor and Description |
|---|
SimpleNode(int i)
Instantiates a new simple node.
|
SimpleNode(OWLFunctionalSyntaxParser p,
int i)
Instantiates a new simple node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dump(String prefix)
Override this method if you want to customize how the node dumps out its
children.
|
void |
jjtAddChild(Node n,
int i)
This method tells the node to add its argument to the node's list of
children.
|
void |
jjtClose()
This method is called after all the child nodes have been added.
|
Node |
jjtGetChild(int i)
This method returns a child node.
|
int |
jjtGetNumChildren()
Return the number of children the node has.
|
Node |
jjtGetParent() |
Object |
jjtGetValue()
Jjt get value.
|
void |
jjtOpen()
This method is called after the node has been made the current node.
|
void |
jjtSetParent(Node n)
This pair of methods are used to inform the node of its parent.
|
void |
jjtSetValue(Object value1)
Jjt set value.
|
String |
toString() |
String |
toString(String prefix)
To string.
|
protected Node parent
protected Node[] children
protected int id
protected Object value
protected OWLFunctionalSyntaxParser parser
public SimpleNode(int i)
i - idpublic SimpleNode(OWLFunctionalSyntaxParser p, int i)
p - parseri - idpublic void jjtOpen()
Nodepublic void jjtClose()
Nodepublic void jjtSetParent(Node n)
NodejjtSetParent in interface Noden - nodepublic Node jjtGetParent()
jjtGetParent in interface Nodepublic void jjtAddChild(Node n, int i)
NodejjtAddChild in interface Noden - nodei - positionpublic Node jjtGetChild(int i)
NodejjtGetChild in interface Nodei - positionpublic int jjtGetNumChildren()
NodejjtGetNumChildren in interface Nodepublic void jjtSetValue(Object value1)
value1 - the value1public Object jjtGetValue()
public String toString(String prefix)
prefix - prefix to usepublic void dump(String prefix)
prefix - prefixCopyright © 2014 The University of Manchester. All Rights Reserved.