|
||||||||||
| 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.BinaryAppendExpr
public class BinaryAppendExpr
Represents a PHP append ('.') expression.
| Field Summary |
|---|
| Fields inherited from class com.caucho.quercus.expr.Expr |
|---|
COMPILE_ARG_MAX |
| Constructor Summary | |
|---|---|
protected |
BinaryAppendExpr(Expr value,
BinaryAppendExpr next)
|
| Method Summary | |
|---|---|
Value |
eval(Env env)
Evaluates the expression, returning a Value, never a Var. |
Value |
evalConstantPrefix()
Returns the first constant string, or null. |
Value |
evalConstantSuffix()
Returns the tail constant string, or null. |
java.lang.String |
evalString(Env env)
Evaluates the expression as a string |
BinaryAppendExpr |
getNext()
Returns the next value in the append chain. |
Expr |
getValue()
Returns the value expression. |
boolean |
isString()
Returns true for a string. |
java.lang.String |
toString()
|
| Methods inherited from class com.caucho.quercus.expr.Expr |
|---|
assign, canRead, createAssign, createAssignFrom, createAssignRef, createCall, createClassConst, createClassField, createClassField, createCopy, createDeref, createFieldGet, createFieldGet, createIsset, createRef, createUnset, evalArg, evalArgs, evalArray, evalArrayAssign, evalAssignRef, evalAssignValue, evalBoolean, evalChar, evalConstant, evalCopy, evalDirty, evalDouble, evalIsset, evalLong, evalObject, evalPostIncrement, evalPreIncrement, evalRef, evalStringValue, evalTop, evalUnsetArray, evalValue, evalVar, getFileName, getFunctionLocation, getLine, getLocation, getLocationLine, isArray, isAssign, isBoolean, isConstant, isDouble, isFalse, isLiteral, isLong, isNumber, isRef, isTrue, isVar, print |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected BinaryAppendExpr(Expr value,
BinaryAppendExpr next)
| Method Detail |
|---|
public Expr getValue()
public BinaryAppendExpr getNext()
public boolean isString()
isString in class Exprpublic Value eval(Env env)
Expr
eval in class Exprenv - the calling environment.
public java.lang.String evalString(Env env)
Expr
evalString in class Exprenv - the calling environment.
public Value evalConstantPrefix()
evalConstantPrefix in class Exprpublic Value evalConstantSuffix()
evalConstantSuffix in class Exprpublic java.lang.String toString()
toString in class Expr
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||