public class AntlrASTProcessSnippets extends Object implements AntlrASTProcessor
Constructor and Description |
---|
AntlrASTProcessSnippets() |
Modifier and Type | Method and 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