|
||||||||||
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.AbstractUnaryExpr
com.caucho.quercus.expr.UnaryMinusExpr
public class UnaryMinusExpr
A "- $a" unary minus.
Field Summary |
---|
Fields inherited from class com.caucho.quercus.expr.AbstractUnaryExpr |
---|
_expr |
Fields inherited from class com.caucho.quercus.expr.Expr |
---|
COMPILE_ARG_MAX, NULL_ARGS |
Constructor Summary | |
---|---|
UnaryMinusExpr(Expr expr)
|
|
UnaryMinusExpr(Location location,
Expr expr)
|
Method Summary | |
---|---|
Value |
eval(Env env)
Evaluates the expression. |
java.lang.String |
toString()
|
Methods inherited from class com.caucho.quercus.expr.AbstractUnaryExpr |
---|
getExpr |
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, evalArrayAssignTail, evalAssignRef, evalAssignValue, evalBoolean, evalChar, evalConstant, evalConstantPrefix, evalConstantSuffix, evalCopy, evalDirty, evalDouble, evalIsset, evalIssetValue, evalLong, evalObject, evalPostIncrement, evalPreIncrement, evalQuercusClass, evalRef, evalString, evalStringValue, evalTop, evalUnsetArray, evalValue, evalVar, getFileName, getFunctionLocation, getLine, getLocation, getLocationLine, isArray, isAssign, 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 |
Constructor Detail |
---|
public UnaryMinusExpr(Location location, Expr expr)
public UnaryMinusExpr(Expr expr)
Method Detail |
---|
public Value eval(Env env)
eval
in class Expr
env
- 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 |