org.hibernate.hql.ast.util
Interface ASTUtil.FilterPredicate

All Known Implementing Classes:
ASTUtil.IncludePredicate
Enclosing interface:
ASTUtil

public static interface ASTUtil.FilterPredicate

Filters nodes out of a tree.


Method Summary
 boolean exclude(antlr.collections.AST n)
          Returns true if the node should be filtered out.
 

Method Detail

exclude

public boolean exclude(antlr.collections.AST n)
Returns true if the node should be filtered out.

Parameters:
n - The node.
Returns:
true if the node should be filtered out, false to keep the node.