[Java] Class PreOrderTraversal

  • org.codehaus.groovy.antlr.treewalker.PreOrderTraversal
public class PreOrderTraversal
extends TraversalHelper

A simple preorder traversal over the supplied antlr AST.

Constructor Detail

public PreOrderTraversal(Visitor visitor)

A simple preorder traversal over the supplied antlr AST.

Parameters:
visitor - the Visitor to call for each node visited

Method Detail

public void accept(GroovySourceAST currentNode)

© 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/treewalker/PreOrderTraversal.html