|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fuberlin.wiwiss.ng4j.trig.AntlrUtils
public class AntlrUtils
Miscellaneous things in support of Antlr-derived parsers.
Constructor Summary | |
---|---|
AntlrUtils()
|
Method Summary | |
---|---|
static String |
ast(antlr.collections.AST t)
Format an AST node |
static void |
ast(PrintStream out,
antlr.collections.AST t)
Print an AST node (but not its subnodes) |
static void |
ast(Writer w,
antlr.collections.AST t)
Print an AST node (but not its subnodes) |
static String |
ASTout(antlr.collections.AST t)
Format an AST node and its subnodes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AntlrUtils()
Method Detail |
---|
public static String ast(antlr.collections.AST t)
public static void ast(PrintStream out, antlr.collections.AST t)
public static void ast(Writer w, antlr.collections.AST t)
public static String ASTout(antlr.collections.AST t)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |