Package ghidra.sleigh.grammar
Class ANTLRUtil
java.lang.Object
ghidra.sleigh.grammar.ANTLRUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddebugNodeStream(org.antlr.runtime.tree.BufferedTreeNodeStream nodes, PrintStream out) static voiddebugTokenStream(org.antlr.runtime.CommonTokenStream tokens, PrintStream out) static voiddebugTree(org.antlr.runtime.tree.Tree tree, PrintStream out) static StringgenerateArrow(int charPositionInLine) static StringgetLine(LineArrayListWriter writer, int lineno) static Stringstatic inttabCompensate(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
-