|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectantlr.BaseAST
antlr.CommonAST
ptolemy.actor.ptalon.PtalonAST
public class PtalonAST
This is just like CommonAST, except it allows XML serialization to be parameterized by a depth.
Red (acataldo) |
Red (acataldo) |
Field Summary |
---|
Fields inherited from class antlr.BaseAST |
---|
down, right |
Constructor Summary | |
---|---|
PtalonAST()
Call the default constructor. |
|
PtalonAST(antlr.Token tok)
Call the default constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class antlr.CommonAST |
---|
getText, getType, initialize, initialize, initialize, setText, setType |
Methods inherited from class antlr.BaseAST |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PtalonAST()
public PtalonAST(antlr.Token tok)
tok
- The token for this node.Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |