Class PreOrderTraversal

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

public class PreOrderTraversal
extends TraversalHelper
A simple preorder traversal over the supplied antlr AST.
  • Constructor Details

    • PreOrderTraversal

      public PreOrderTraversal​(Visitor visitor)
      A simple preorder traversal over the supplied antlr AST.
      Parameters:
      visitor - the Visitor to call for each node visited
  • Method Details