|
||||||||||
| 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.AbstractVarExpr
com.caucho.quercus.expr.VarExpr
com.caucho.quercus.expr.VarExprPro
public class VarExprPro
Represents a PHP variable expression.
| Field Summary |
|---|
| Fields inherited from class com.caucho.quercus.expr.VarExpr |
|---|
_name |
| Fields inherited from class com.caucho.quercus.expr.Expr |
|---|
COMPILE_ARG_MAX |
| Constructor Summary | |
|---|---|
VarExprPro(InfoVarPro var)
|
|
| Method Summary | |
|---|---|
VarExprPro |
analyzeMerge(VarExprPro mergeVar)
Sets the assignment state of the variable. |
VarExprPro |
analyzeVarState(VarState state)
Sets the assignment state of the variable. |
void |
assign(QuercusParser parser)
Creates the assignment. |
Expr |
copy(Location location)
Copy for things like $a .= "test"; |
Expr |
createAssignRef(QuercusParser parser,
Expr value)
Creates the assignment. |
ExprGenerator |
getGenerator()
Returns the expression's generator. |
void |
getVariables(java.util.HashSet<VarExpr> vars)
Returns the variables used in the expression |
InfoVarPro |
getVarInfo()
Returns the variable info. |
VarState |
getVarState()
Returns the assignment state of the variable. |
VarState |
getVarState(VarExpr var,
VarExpr owner)
Returns the variables state. |
boolean |
isValue()
|
void |
setInitializedVar(boolean isInit)
|
void |
setVarState(VarState state)
Sets the assignment state of the variable. |
| Methods inherited from class com.caucho.quercus.expr.VarExpr |
|---|
createAssign, equals, eval, evalArg, evalArray, evalAssignRef, evalAssignValue, evalCopy, evalIsset, evalObject, evalTop, evalUnset, evalVar, getJavaVar, getName, hashCode, toString |
| Methods inherited from class com.caucho.quercus.expr.AbstractVarExpr |
|---|
createCopy, createRef, createUnset, evalRef, isVar |
| Methods inherited from class com.caucho.quercus.expr.Expr |
|---|
canRead, createAssignFrom, createCall, createClassConst, createClassField, createClassField, createDeref, createFieldGet, createFieldGet, createIsset, evalArgs, evalArrayAssign, evalBoolean, evalChar, evalConstant, evalConstantPrefix, evalConstantSuffix, evalDirty, evalDouble, evalLong, evalPostIncrement, evalPreIncrement, evalString, evalStringValue, evalUnsetArray, evalValue, getFileName, getFunctionLocation, getLine, getLocation, getLocationLine, isArray, isAssign, isBoolean, isConstant, isDouble, isFalse, isLiteral, isLong, isNumber, isRef, isString, isTrue, print |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VarExprPro(InfoVarPro var)
| Method Detail |
|---|
public InfoVarPro getVarInfo()
getVarInfo in class VarExprpublic boolean isValue()
public Expr copy(Location location)
copy in class VarExprlocation - public void assign(QuercusParser parser)
assign in class VarExpr
public Expr createAssignRef(QuercusParser parser,
Expr value)
createAssignRef in class VarExprpublic VarExprPro analyzeVarState(VarState state)
public void getVariables(java.util.HashSet<VarExpr> vars)
vars - the variables used in the functionpublic VarState getVarState()
public void setVarState(VarState state)
public VarExprPro analyzeMerge(VarExprPro mergeVar)
public VarState getVarState(VarExpr var,
VarExpr owner)
var - the variables to testowner - the owning expressionpublic void setInitializedVar(boolean isInit)
public ExprGenerator getGenerator()
ExprPro
getGenerator in interface ExprPro
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||