Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
child0 |
private java.lang.Object |
child1 |
private java.lang.Object |
child2 |
private java.lang.Object |
child3 |
AND, ARRAY, ASSIGN, BAND, BIND, BINOP, BOOLEAN_LITERAL, BOR, BXOR, COLON, COMMA, DIV, DOLLAR, EQ, FIELD, FLOAT_LITERAL, GE, GT, IDENTIFIER, INTEGER_LITERAL, LE, LT, METH, MINUS, MOD, MUL, NE, NEW, NOT, NOTHING, NULL_LITERAL, OR, PATH, PLUS, RETURN, SEMI, STRING_LITERAL, TERNOP, THROW, TWIDDLE, UMINUS, UNOP
Constructor and Description |
---|
ParseNode.QuaternaryNode(int tag,
java.lang.String file,
int line,
int column,
java.lang.Object child0,
java.lang.Object child1,
java.lang.Object child2,
java.lang.Object child3) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getChild(int idx)
get the nth child for this node or null if the index exceeds the child count
|
int |
getChildCount()
get the child count for this node
|
java.lang.String |
getText()
get the display representation of this node
|
private java.lang.Object child0
private java.lang.Object child1
private java.lang.Object child2
private java.lang.Object child3
public ParseNode.QuaternaryNode(int tag, java.lang.String file, int line, int column, java.lang.Object child0, java.lang.Object child1, java.lang.Object child2, java.lang.Object child3)
public int getChildCount()
getChildCount
in class ParseNode
public java.lang.Object getChild(int idx)