|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.hammurapi.antlr.AstUtil
public class AstUtil
Serializes AST to DOM
Constructor Summary | |
---|---|
AstUtil()
|
Method Summary | |
---|---|
static void |
dump(antlr.collections.AST node,
java.lang.String[] tokenNames)
Dumps this node and its children |
static void |
dumpAll(antlr.collections.AST node,
java.lang.String[] tokenNames)
Dumps node and siblings |
static org.w3c.dom.Element |
toDom(antlr.collections.AST node,
java.lang.String[] tokenNames,
org.w3c.dom.Document owner)
Serializes AST and its children to DOM. |
static void |
toDom(antlr.collections.AST node,
java.lang.String[] tokenNames,
org.w3c.dom.Element holder)
Serializes AST, its children and its siblings to DOM. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AstUtil()
Method Detail |
---|
public static void toDom(antlr.collections.AST node, java.lang.String[] tokenNames, org.w3c.dom.Element holder)
node
- tokenNames
- holder
- public static org.w3c.dom.Element toDom(antlr.collections.AST node, java.lang.String[] tokenNames, org.w3c.dom.Document owner)
node
- tokenNames
- owner
- public static void dumpAll(antlr.collections.AST node, java.lang.String[] tokenNames)
node
- tokenNames
- public static void dump(antlr.collections.AST node, java.lang.String[] tokenNames)
node
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |