Package ghidra.sleigh.grammar
Class ANTLRUtil
java.lang.Object
ghidra.sleigh.grammar.ANTLRUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
debugNodeStream
(org.antlr.runtime.tree.BufferedTreeNodeStream nodes, PrintStream out) static void
debugTokenStream
(org.antlr.runtime.CommonTokenStream tokens, PrintStream out) static void
debugTree
(org.antlr.runtime.tree.Tree tree, PrintStream out) static String
generateArrow
(int charPositionInLine) static String
getLine
(LineArrayListWriter writer, int lineno) static String
static int
tabCompensate
(String line, int charPositionInLine)
-
Constructor Details
-
ANTLRUtil
public ANTLRUtil()
-
-
Method Details
-
debugNodeStream
public static void debugNodeStream(org.antlr.runtime.tree.BufferedTreeNodeStream nodes, PrintStream out) -
debugTokenStream
-
debugTree
-
getLine
- Throws:
IOException
-
getLine
- Throws:
IOException
-
generateArrow
-
tabCompensate
-