Package org.jboss.byteman.rule.grammar
Class ParseNode.UnaryNode
- java.lang.Object
-
- org.jboss.byteman.rule.grammar.ParseNode
-
- org.jboss.byteman.rule.grammar.ParseNode.UnaryNode
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object
child0
-
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 UnaryNode(int tag, java.lang.String file, int line, int column, java.lang.Object child0)
-
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 a string representing 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
-
-