Class SourceCodeTraversal

java.lang.Object
org.codehaus.groovy.antlr.treewalker.TraversalHelper
org.codehaus.groovy.antlr.treewalker.SourceCodeTraversal
All Implemented Interfaces:
AntlrASTProcessor

public class SourceCodeTraversal
extends TraversalHelper
A treewalker for the antlr generated AST that attempts to visit the AST nodes in the order needed to generate valid groovy source code.
  • Constructor Details

    • SourceCodeTraversal

      public SourceCodeTraversal​(Visitor visitor)
      Constructs a treewalker for the antlr generated AST that attempts to visit the AST nodes in the order needed to generate valid groovy source code.
      Parameters:
      visitor - the visitor implementation to call for each AST node.
  • Method Details