public class


extends Object
   ↳ org.hibernate.hql.ast.util.NodeTraverser

Class Overview

A visitor for traversing an AST tree.


Nested Classes
interface NodeTraverser.VisitationStrategy  
Public Constructors
NodeTraverser(NodeTraverser.VisitationStrategy strategy)
Public Methods
void traverseDepthFirst(AST ast)
Traverse the AST tree depth first.
Inherited Methods
From class java.lang.Object

Public Constructors

public NodeTraverser (NodeTraverser.VisitationStrategy strategy)

Public Methods

public void traverseDepthFirst (AST ast)

Traverse the AST tree depth first.

ast Root node of subtree to traverse.

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