|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xjavadoc.SimpleNode
Describe what this class does
Field Summary | |
protected Node[] |
children
|
protected Token |
first
This comment is not shared among first and last |
protected int |
id
|
static int |
instanceCount
|
protected Token |
last
This comment is not shared among first and last |
protected Node |
parent
|
protected JavaParser |
parser
|
Constructor Summary | |
SimpleNode(int i)
Describe what the SimpleNode constructor does |
|
SimpleNode(JavaParser p,
int i)
Describe what the SimpleNode constructor does |
Method Summary | |
String |
dump()
|
Token |
getFirstToken()
Gets the FirstToken attribute of the SimpleNode object |
Token |
getLastToken()
Gets the LastToken attribute of the SimpleNode object |
int |
getPosition()
Returns our position under our parent. |
String |
getType()
|
void |
jjtAddChild(Node n,
int i)
Describe what the method does |
void |
jjtClose()
Describe what the method does |
Node |
jjtGetChild(int i)
Describe what the method does |
int |
jjtGetNumChildren()
Describe what the method does |
Node |
jjtGetParent()
Describe what the method does |
void |
jjtOpen()
Describe what the method does |
void |
jjtSetParent(Node n)
Describe what the method does |
String |
toString()
Describe what the method does |
String |
toString(String prefix)
Describe what the method does |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static int instanceCount
protected Node parent
protected Node[] children
protected int id
protected JavaParser parser
protected Token first
protected Token last
Constructor Detail |
public SimpleNode(int i)
i
- Describe what the parameter doespublic SimpleNode(JavaParser p, int i)
p
- Describe what the parameter doesi
- Describe what the parameter doesMethod Detail |
public int getPosition()
public Token getFirstToken()
public Token getLastToken()
public String getType()
public void jjtOpen()
jjtOpen
in interface Node
public void jjtClose()
jjtClose
in interface Node
public void jjtSetParent(Node n)
jjtSetParent
in interface Node
n
- Describe what the parameter doespublic Node jjtGetParent()
jjtGetParent
in interface Node
public void jjtAddChild(Node n, int i)
jjtAddChild
in interface Node
n
- Describe what the parameter doesi
- Describe what the parameter doespublic Node jjtGetChild(int i)
jjtGetChild
in interface Node
i
- Describe what the parameter does
public int jjtGetNumChildren()
jjtGetNumChildren
in interface Node
public String toString()
toString
in class Object
public String toString(String prefix)
prefix
- Describe what the parameter does
public String dump()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |