AntlrASTProcessor
public class AntlrASTProcessSnippets extends java.lang.Object implements AntlrASTProcessor
Constructor | Description |
---|---|
AntlrASTProcessSnippets() |
Modifier and Type | Method | Description |
---|---|---|
AST |
process(AST t) |
decorate antlr AST with ending line/col info, and if
possible the snippet of source from the start/end line/col for each node.
|
public AST process(AST t)
process
in interface AntlrASTProcessor
t
- the AST to decorate