[Java] Class AntlrASTProcessSnippets
- org.codehaus.groovy.antlr.AntlrASTProcessSnippets
- All Implemented Interfaces and Traits:
- AntlrASTProcessor
public class AntlrASTProcessSnippets extends Object implements AntlrASTProcessor
Constructor Summary
Constructor and description |
---|
AntlrASTProcessSnippets
() |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public 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. |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail
public AntlrASTProcessSnippets()
Method Detail
public 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.
- Parameters:
-
t
- the AST to decorate
- Returns:
- the decorated AST
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/antlr/AntlrASTProcessSnippets.html