站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

NodeTraverser (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.hql.ast.util
Class NodeTraverser

java.lang.Object
  extended byorg.hibernate.hql.ast.util.NodeTraverser

public class NodeTraverser
extends Object

A visitor for traversing an AST tree.

Author:
Steve Ebersole

Nested Class Summary
static interface NodeTraverser.VisitationStrategy
           
 
Constructor Summary
NodeTraverser(NodeTraverser.VisitationStrategy strategy)
           
 
Method Summary
 void traverseDepthFirst(antlr.collections.AST ast)
          Traverse the AST tree depth first.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeTraverser

public NodeTraverser(NodeTraverser.VisitationStrategy strategy)
Method Detail

traverseDepthFirst

public void traverseDepthFirst(antlr.collections.AST ast)
Traverse the AST tree depth first.

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

Parameters:
ast -