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
-
-
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 Constructor Description NullaryNode(int tag, java.lang.String file, int line, int column)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getChild(int idx)
get the nth child for this node or null if the index exceeds the child countint
getChildCount()
get the child count for this nodejava.lang.String
getText()
get the display representation of this node
-
-
-
Method Detail
-
getChildCount
public int getChildCount()
get the child count for this node- Specified by:
getChildCount
in classParseNode
- Returns:
- the child count for this node
-
getChild
public java.lang.Object getChild(int idx)
get the nth child for this node or null if the index exceeds the child count
-
-