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, xmlSerializeRootOpenpublic CommonAST()
public CommonAST(Token tok)
public String getText()
public int getType()
public void initialize(int t,
String txt)
initialize in interface ASTinitialize in class BaseASTpublic void initialize(AST t)
initialize in interface ASTinitialize in class BaseASTpublic void initialize(Token tok)
initialize in interface ASTinitialize in class BaseASTpublic void setText(String text_)
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.