public class CommonAST extends BaseAST
Modifier and Type | Method and Description |
---|---|
String |
getText()
Get the token text for this node
|
int |
getType()
Get the token type for this node
|
void |
initialize(AST t) |
void |
initialize(int t,
String txt) |
void |
initialize(Token tok) |
void |
setText(String text_)
Set the token text for this node
|
void |
setType(int ttype_)
Set the token type for this node
|
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getColumn, getFirstChild, getLine, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
public CommonAST()
public CommonAST(Token tok)
public String getText()
public int getType()
public void initialize(int t, String txt)
initialize
in interface AST
initialize
in class BaseAST
public void initialize(AST t)
initialize
in interface AST
initialize
in class BaseAST
public void initialize(Token tok)
initialize
in interface AST
initialize
in class BaseAST
public void setText(String text_)
Copyright © 2015 JBoss by Red Hat. All rights reserved.