com.caucho.quercus.expr
Class UnarySuppressErrorExpr

java.lang.Object
  extended by com.caucho.quercus.expr.Expr
      extended by com.caucho.quercus.expr.AbstractUnaryExpr
          extended by com.caucho.quercus.expr.UnarySuppressErrorExpr
Direct Known Subclasses:
UnarySuppressErrorExprPro

public class UnarySuppressErrorExpr
extends AbstractUnaryExpr

Represents a PHP error suppression


Field Summary
 
Fields inherited from class com.caucho.quercus.expr.AbstractUnaryExpr
_expr
 
Fields inherited from class com.caucho.quercus.expr.Expr
COMPILE_ARG_MAX
 
Constructor Summary
UnarySuppressErrorExpr(Expr expr)
           
UnarySuppressErrorExpr(Location location, Expr expr)
           
 
Method Summary
 Expr createAssign(QuercusParser parser, Expr value)
          Creates the assignment.
 Expr createAssignRef(QuercusParser parser, Expr value)
          Creates the assignment.
 Value eval(Env env)
          Evaluates the expression.
 boolean evalBoolean(Env env)
          Evaluates the expression as a boolean.
 Value evalCopy(Env env)
          Evaluates the expression, copying the results as necessary
 java.lang.String evalString(Env env)
          Evaluates the expression as a string.
 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, createAssignFrom, createCall, createClassConst, createClassField, createClassField, createCopy, createDeref, createFieldGet, createFieldGet, createIsset, createRef, createUnset, evalArg, evalArgs, evalArray, evalArrayAssign, evalAssignRef, evalAssignValue, evalChar, evalConstant, evalConstantPrefix, evalConstantSuffix, 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, isString, isTrue, isVar, print
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnarySuppressErrorExpr

public UnarySuppressErrorExpr(Location location,
                              Expr expr)

UnarySuppressErrorExpr

public UnarySuppressErrorExpr(Expr expr)
Method Detail

createAssign

public Expr createAssign(QuercusParser parser,
                         Expr value)
                  throws java.io.IOException
Creates the assignment.

Overrides:
createAssign in class Expr
Throws:
java.io.IOException

createAssignRef

public Expr createAssignRef(QuercusParser parser,
                            Expr value)
                     throws java.io.IOException
Creates the assignment.

Overrides:
createAssignRef in class Expr
Throws:
java.io.IOException

eval

public Value eval(Env env)
Evaluates the expression.

Specified by:
eval in class Expr
Parameters:
env - the calling environment.
Returns:
the expression value.

evalBoolean

public boolean evalBoolean(Env env)
Evaluates the expression as a boolean.

Overrides:
evalBoolean in class Expr
Parameters:
env - the calling environment.
Returns:
the expression value.

evalString

public java.lang.String evalString(Env env)
Evaluates the expression as a string.

Overrides:
evalString in class Expr
Parameters:
env - the calling environment.
Returns:
the expression value.

evalCopy

public Value evalCopy(Env env)
Evaluates the expression, copying the results as necessary

Overrides:
evalCopy in class Expr
Parameters:
env - the calling environment.
Returns:
the expression value.

toString

public java.lang.String toString()
Overrides:
toString in class Expr