org.makumba.providers.query.mql
Class MqlLogicalNode

java.lang.Object
  extended by antlr.BaseAST
      extended by antlr.CommonAST
          extended by org.makumba.providers.query.mql.MqlNode
              extended by org.makumba.providers.query.mql.MqlBinaryOperator
                  extended by org.makumba.providers.query.mql.MqlLogicalNode
All Implemented Interfaces:
antlr.collections.AST, Serializable

public class MqlLogicalNode
extends MqlBinaryOperator

We need to treat logical operations specially because * an operation with a parameter will determine the parameter type

Version:
$Id: MqlComparisonNode.java,v 1.1 Aug 5, 2008 5:31:13 PM cristi Exp $
Author:
Cristian Bogdan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.makumba.providers.query.mql.MqlNode
checkAsIds, walker
 
Fields inherited from class antlr.BaseAST
down, right
 
Constructor Summary
MqlLogicalNode()
           
 
Method Summary
protected  void analyzeOperands(MqlNode left, MqlNode right)
           
protected  void setMakType(MqlNode left, MqlNode right)
           
 
Methods inherited from class org.makumba.providers.query.mql.MqlBinaryOperator
oneMoreChild
 
Methods inherited from class org.makumba.providers.query.mql.MqlNode
checkAndRewriteOperand, checkForOperandType, checkOperandTypes, checkParam, findMakType, getFather, getMakType, getOriginalText, getWalker, initialize, isFunctionCall, isParam, knownType, makeBooleanFieldDefinition, setFather, setFirstChild, setMakType, setNextSibling, setText, setTextList, setType, setWalker, toString, writeTo
 
Methods inherited from class antlr.CommonAST
getText, getType, initialize, initialize
 
Methods inherited from class antlr.BaseAST
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getColumn, getFirstChild, getLine, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setVerboseStringConversion, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MqlLogicalNode

public MqlLogicalNode()
Method Detail

analyzeOperands

protected void analyzeOperands(MqlNode left,
                               MqlNode right)
                        throws antlr.SemanticException
Overrides:
analyzeOperands in class MqlBinaryOperator
Throws:
antlr.SemanticException

setMakType

protected void setMakType(MqlNode left,
                          MqlNode right)
Overrides:
setMakType in class MqlBinaryOperator