|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.quercus.expr.Expr
com.caucho.quercus.expr.BinaryAssignExpr
public class BinaryAssignExpr
Represents a PHP assignment expression.
| Field Summary | |
|---|---|
protected Expr |
_value
|
protected AbstractVarExpr |
_var
|
| Fields inherited from class com.caucho.quercus.expr.Expr |
|---|
COMPILE_ARG_MAX |
| Constructor Summary | |
|---|---|
BinaryAssignExpr(AbstractVarExpr var,
Expr value)
|
|
BinaryAssignExpr(Location location,
AbstractVarExpr var,
Expr value)
|
|
| Method Summary | |
|---|---|
Expr |
createCopy(ExprFactory factory)
Creates a assignment |
Value |
eval(Env env)
Evaluates the expression. |
Value |
evalCopy(Env env)
Evaluates the expression. |
Value |
evalRef(Env env)
Evaluates the expression. |
boolean |
isAssign()
Returns true if a static false value. |
java.lang.String |
toString()
|
| Methods inherited from class com.caucho.quercus.expr.Expr |
|---|
assign, canRead, createAssign, createAssignFrom, createAssignRef, createCall, createClassConst, createClassField, createClassField, createDeref, createFieldGet, createFieldGet, createIsset, createRef, createUnset, evalArg, evalArgs, evalArray, evalArrayAssign, evalAssignRef, evalAssignValue, evalBoolean, evalChar, evalConstant, evalConstantPrefix, evalConstantSuffix, evalDirty, evalDouble, evalIsset, evalLong, evalObject, evalPostIncrement, evalPreIncrement, evalString, evalStringValue, evalTop, evalUnsetArray, evalValue, evalVar, getFileName, getFunctionLocation, getLine, getLocation, getLocationLine, isArray, isBoolean, isConstant, isDouble, isFalse, isLiteral, isLong, isNumber, isRef, isString, isTrue, isVar, print |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final AbstractVarExpr _var
protected final Expr _value
| Constructor Detail |
|---|
public BinaryAssignExpr(Location location,
AbstractVarExpr var,
Expr value)
public BinaryAssignExpr(AbstractVarExpr var,
Expr value)
| Method Detail |
|---|
public Expr createCopy(ExprFactory factory)
createCopy in class Exprlocation - public boolean isAssign()
isAssign in class Exprpublic Value eval(Env env)
eval in class Exprenv - the calling environment.
public Value evalCopy(Env env)
evalCopy in class Exprenv - the calling environment.
public Value evalRef(Env env)
evalRef in class Exprenv - the calling environment.
public java.lang.String toString()
toString in class Expr
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||