org.makumba.providers.query
Class Pass1ASTPrinter.AssociativeFlatVisitor
java.lang.Object
org.makumba.providers.QueryAnalysisProvider.ASTTransformVisitor
org.makumba.providers.query.Pass1ASTPrinter.AssociativeFlatVisitor
- Enclosing class:
- Pass1ASTPrinter
static class Pass1ASTPrinter.AssociativeFlatVisitor
- extends QueryAnalysisProvider.ASTTransformVisitor
Pulls up an associative operator from (OP a (OP b c)) to (OP (OP a b) c). This helps detect equivalent trees.
- Version:
- $Id: Pass1ASTPrinter.java,v 1.1 Apr 21, 2010 9:34:21 AM cristi Exp $
- Author:
- cristi
Method Summary |
antlr.collections.AST |
visit(antlr.collections.AST current)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pass1ASTPrinter.AssociativeFlatVisitor
public Pass1ASTPrinter.AssociativeFlatVisitor()
visit
public antlr.collections.AST visit(antlr.collections.AST current)
- Specified by:
visit
in class QueryAnalysisProvider.ASTTransformVisitor