Class NodeTraverser

java.lang.Object
org.hibernate.hql.ast.util.NodeTraverser

public class NodeTraverser extends Object
A visitor for traversing an AST tree.
  • Constructor Details

  • Method Details

    • traverseDepthFirst

      public void traverseDepthFirst(antlr.collections.AST ast)
      Traverse the AST tree depth first.
      Parameters:
      ast - Root node of subtree to traverse.

      Note that the AST passed in is not visited itself. Visitation starts with its children.