com.caucho.quercus.expr
Class AbstractBinaryGenerateExpr

java.lang.Object
  extended by com.caucho.quercus.expr.ExprGenerator
      extended by com.caucho.quercus.expr.AbstractBinaryGenerateExpr

public abstract class AbstractBinaryGenerateExpr
extends ExprGenerator

Common analysis for a PHP binary expression.


Field Summary
 
Fields inherited from class com.caucho.quercus.expr.ExprGenerator
COMPILE_ARG_MAX
 
Constructor Summary
AbstractBinaryGenerateExpr(Location location)
           
 
Method Summary
 ExprType analyze(AnalyzeInfo info)
          Analyze the expression
abstract  ExprGenerator getLeft()
          Returns the left expression.
abstract  ExprGenerator getRight()
          Returns the right expression.
 boolean isVarAssigned(VarExprPro var)
          Returns true if the variable is ever assigned.
 
Methods inherited from class com.caucho.quercus.expr.ExprGenerator
analyzeAssign, analyzeSetModified, analyzeSetPostIncrement, analyzeSetReference, analyzeTop, analyzeUnset, combineBinaryVarState, generate, generateAppend, generateArg, generateArray, generateAssign, generateAssignBoolean, generateAssignClose, generateAssignOpen, generateAssignRef, generateBoolean, generateChar, generateCopy, generateDirty, generateDouble, generateExpr, generateGetOut, generateInt, generateIsset, generateListEachStatement, generateLong, generateModifiedRead, generateObject, generatePrint, generateRef, generateRefArg, generateReturn, generateReturnRef, generateStatement, generateString, generateStringValue, generateTop, generateType, generateUnset, generateUnsetArray, generateValue, generateValueArg, generateVar, getConstant, getLiteral, getLocation, getType, isAssignment, isBoolean, isConstant, isDefault, isDouble, isLiteral, isLong, isNumber, isString, isVar, isVarAssigned
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBinaryGenerateExpr

public AbstractBinaryGenerateExpr(Location location)
Method Detail

getLeft

public abstract ExprGenerator getLeft()
Returns the left expression.


getRight

public abstract ExprGenerator getRight()
Returns the right expression.


analyze

public ExprType analyze(AnalyzeInfo info)
Analyze the expression

Specified by:
analyze in class ExprGenerator

isVarAssigned

public boolean isVarAssigned(VarExprPro var)
Returns true if the variable is ever assigned.

Parameters:
var - the variable to test