Package org.jboss.byteman.rule.grammar
Class ParseNode.NullaryNode
java.lang.Object
org.jboss.byteman.rule.grammar.ParseNode
org.jboss.byteman.rule.grammar.ParseNode.NullaryNode
- Enclosing class:
ParseNode
a parse node with no children
-
Field Summary
Fields inherited from class org.jboss.byteman.rule.grammar.ParseNode
AND, ARRAY, ARRAY_INIT, ASSIGN, BAND, BIND, BINOP, BOOLEAN_LITERAL, BOR, BXOR, CLASS, COLON, COMMA, DIV, DOLLAR, EQ, FIELD, FLOAT_LITERAL, GE, GT, IDENTIFIER, INSTANCEOF, INTEGER_LITERAL, LE, LSH, LT, METH, MINUS, MOD, MUL, NE, NEW, NOT, NOTHING, NULL_LITERAL, OR, PATH, PLUS, RETURN, RSH, SEMI, STRING_LITERAL, TERNOP, THROW, TWIDDLE, UMINUS, UNOP, URSH
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NullaryNode
-
-
Method Details
-
getChildCount
public int getChildCount()get the child count for this node- Specified by:
getChildCount
in classParseNode
- Returns:
- the child count for this node
-
getChild
get the nth child for this node or null if the index exceeds the child count -
getText
get the display representation of this node
-