| java.lang.Object biz.hammurapi.antlr.AstUtil
AstUtil | public class AstUtil (Code) | | Serializes AST to DOM
author: Pavel Vlasov |
Method Summary | |
public static void | dump(antlr.collections.AST node, String[] tokenNames) | public static void | dumpAll(antlr.collections.AST node, String[] tokenNames) | public static void | toDom(antlr.collections.AST node, String[] tokenNames, Element holder) Serializes AST, its children and its siblings to DOM. | public static Element | toDom(antlr.collections.AST node, String[] tokenNames, Document owner) Serializes AST and its children to DOM. |
dump | public static void dump(antlr.collections.AST node, String[] tokenNames)(Code) | | Dumps this node and its children
Parameters: node - |
dumpAll | public static void dumpAll(antlr.collections.AST node, String[] tokenNames)(Code) | | Dumps node and siblings
Parameters: node - Parameters: tokenNames - |
toDom | public static void toDom(antlr.collections.AST node, String[] tokenNames, Element holder)(Code) | | Serializes AST, its children and its siblings to DOM.
Parameters: node - Parameters: tokenNames - Parameters: holder - |
toDom | public static Element toDom(antlr.collections.AST node, String[] tokenNames, Document owner)(Code) | | Serializes AST and its children to DOM.
Parameters: node - Parameters: tokenNames - Parameters: owner - |
|
|