Package antlr
Class ParseTreeToken
- java.lang.Object
-
- antlr.BaseAST
-
- antlr.ParseTree
-
- antlr.ParseTreeToken
-
- All Implemented Interfaces:
AST
,java.io.Serializable
public class ParseTreeToken extends ParseTree
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParseTreeToken(Token token)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getLeftmostDerivation(java.lang.StringBuffer buf, int step)
Get derivation and return how many you did (less than requested for subtree roots.java.lang.String
toString()
-
Methods inherited from class antlr.ParseTree
getLeftmostDerivation, getLeftmostDerivationStep, initialize, initialize, initialize
-
Methods inherited from class antlr.BaseAST
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getColumn, getFirstChild, getLine, getNextSibling, getNumberOfChildren, getText, getTokenNames, getType, removeChildren, setFirstChild, setNextSibling, setText, setType, setVerboseStringConversion, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
-
-
-
-
Field Detail
-
token
protected Token token
-
-
Constructor Detail
-
ParseTreeToken
public ParseTreeToken(Token token)
-
-
Method Detail
-
getLeftmostDerivation
protected int getLeftmostDerivation(java.lang.StringBuffer buf, int step)
Description copied from class:ParseTree
Get derivation and return how many you did (less than requested for subtree roots.- Specified by:
getLeftmostDerivation
in classParseTree
-
-