xjavadoc
public class SimpleNode extends Object implements Node
| Field Summary | |
|---|---|
| protected Node[] | children |
| protected Token | first |
| protected int | id |
| static int | instanceCount |
| protected Token | last |
| protected Node | parent |
| protected JavaParser | parser |
| Constructor Summary | |
|---|---|
| SimpleNode(int i) | |
| SimpleNode(JavaParser p, int i) | |
| Method Summary | |
|---|---|
| String | dump() |
| void | dump(StringBuffer sb, String prefix) |
| Token | getFirstToken() |
| Token | getLastToken() |
| int | getPosition()
Returns our position under our parent.
|
| String | getType() |
| void | jjtAddChild(Node n, int i) |
| void | jjtClose() |
| Node | jjtGetChild(int i) |
| int | jjtGetNumChildren() |
| Node | jjtGetParent() |
| void | jjtOpen() |
| void | jjtSetParent(Node n) |
| String | toString() |
| String | toString(String prefix) |
Returns: our position under our parent.