Node
ASTBNFAction
, ASTBNFAssignment
, ASTBNFChoice
, ASTBNFDeclaration
, ASTBNFLookahead
, ASTBNFNodeScope
, ASTBNFNonTerminal
, ASTBNFOneOrMore
, ASTBNFParenthesized
, ASTBNFSequence
, ASTBNFTryBlock
, ASTBNFZeroOrMore
, ASTBNFZeroOrOne
, ASTCharDescriptor
, ASTCompilationUnit
, ASTExpansionNodeScope
, ASTGrammar
, ASTJavacodeBody
, ASTLHS
, ASTNodeDescriptor
, ASTNodeDescriptorExpression
, ASTOptionBinding
, ASTOptions
, ASTPrimaryExpression
, ASTProduction
, ASTProductions
, ASTRE
, ASTRECharList
, ASTREChoice
, ASTREEOF
, ASTRENamed
, ASTREOneOrMore
, ASTREParenthesized
, ASTREReference
, ASTRESequence
, ASTRESpec
, ASTREStringLiteral
, ASTREZeroOrMore
, ASTREZeroOrOne
, ASTRRepetitionRange
, ASTTokenDecls
public class JJTreeNode extends SimpleNode
Constructor | Description |
---|---|
JJTreeNode(int id) |
|
JJTreeNode(JJTreeParser p,
int i) |
Modifier and Type | Method | Description |
---|---|---|
Token |
getFirstToken() |
|
Token |
getLastToken() |
|
int |
getOrdinal() |
|
void |
jjtAddChild(Node n,
int i) |
This method tells the node to add its argument to the node's
list of children.
|
static Node |
jjtCreate(int id) |
|
protected void |
print(Token t,
org.javacc.jjtree.IO io) |
|
void |
setFirstToken(Token t) |
|
void |
setLastToken(Token t) |
|
void |
setOrdinal(int o) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
childrenAccept, dump, getId, jjtAccept, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toString
public JJTreeNode(int id)
public JJTreeNode(JJTreeParser p, int i)
public static Node jjtCreate(int id)
public void jjtAddChild(Node n, int i)
Node
jjtAddChild
in interface Node
jjtAddChild
in class SimpleNode
public int getOrdinal()
public void setOrdinal(int o)
public Token getFirstToken()
public void setFirstToken(Token t)
public Token getLastToken()
public void setLastToken(Token t)
protected void print(Token t, org.javacc.jjtree.IO io)