Package org.codehaus.groovy.antlr
Class AntlrASTProcessSnippets
java.lang.Object
org.codehaus.groovy.antlr.AntlrASTProcessSnippets
- All Implemented Interfaces:
AntlrASTProcessor
public class AntlrASTProcessSnippets extends Object implements AntlrASTProcessor
-
Constructor Summary
Constructors Constructor Description AntlrASTProcessSnippets()
-
Method Summary
-
Constructor Details
-
AntlrASTProcessSnippets
public AntlrASTProcessSnippets()
-
-
Method Details
-
process
decorate antlr AST with ending line/col info, and if possible the snippet of source from the start/end line/col for each node.- Specified by:
process
in interfaceAntlrASTProcessor
- Parameters:
t
- the AST to decorate- Returns:
- the decorated AST
-