|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.groovy.antlr.AntlrASTProcessSnippets
public class AntlrASTProcessSnippets
| Field Summary | |
|---|---|
private SourceBuffer |
sourceBuffer
|
| Constructor Summary | |
|---|---|
AntlrASTProcessSnippets(SourceBuffer sourceBuffer)
|
|
| Method Summary | |
|---|---|
antlr.collections.AST |
process(antlr.collections.AST t)
decorate antlr AST with ending line/col info, and if possible the snipppet of source from the start/end line/col for each node. |
private antlr.collections.AST |
traverse(GroovySourceAST t,
java.util.List l,
java.util.Iterator itr)
traverse an AST node |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final SourceBuffer sourceBuffer
| Constructor Detail |
|---|
public AntlrASTProcessSnippets(SourceBuffer sourceBuffer)
| Method Detail |
|---|
public antlr.collections.AST process(antlr.collections.AST t)
process in interface AntlrASTProcessort - the AST to decorate
private antlr.collections.AST traverse(GroovySourceAST t,
java.util.List l,
java.util.Iterator itr)
t - the AST node to traversel - A list to add line/col info toitr - An iterator over a list of line/col
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||