public class PtalonAST
extends antlr.CommonAST
Constructor and Description |
---|
PtalonAST()
Call the default constructor.
|
PtalonAST(antlr.Token tok)
Call the default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
_getIndentPrefix(int level)
Return a number of spaces that is proportional to the argument.
|
void |
xmlSerialize(java.io.Writer out,
int depth)
Generate the XML for this AST.
|
getText, getType, initialize, initialize, initialize, setText, setType
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 PtalonAST()
public PtalonAST(antlr.Token tok)
tok
- The token for this node.public void xmlSerialize(java.io.Writer out, int depth) throws java.io.IOException
out
- The writer to write to.depth
- The depth of this node.java.io.IOException
- If there is any problem writing.protected static java.lang.String _getIndentPrefix(int level)
level
- The level of indenting represented by the spaces.