Modifier and Type | Method and Description |
---|---|
Expr |
LazyClassDef.findConstant(java.lang.String name)
Finds the matching constant
|
Modifier and Type | Method and Description |
---|---|
protected Expr[] |
JavaInvoker.getDefaultExprs()
Returns the default expressions.
|
Expr |
Env.peekCall(int depth)
Peeks at the the top call.
|
Expr |
Env.popCall()
Pops the top call.
|
Modifier and Type | Method and Description |
---|---|
void |
QuercusClass.addConstant(StringValue name,
Expr expr)
Adds a constant definition
|
void |
QuercusClass.addStaticFieldExpr(java.lang.String className,
StringValue name,
Expr value)
Adds a static class field.
|
void |
QuercusClass.addStaticTraitFieldExpr(java.lang.String bindingClassName,
StringValue name,
Expr value)
Adds a static class field.
|
Value |
CompiledClassDef.callNew(Env env,
Expr[] args)
Eval new
|
Value[] |
JavaInvoker.evalArguments(Env env,
Expr fun,
Expr[] args)
Evaluates a function's argument, handling ref vs non-ref
|
Value[] |
JavaInvoker.evalArguments(Env env,
Expr fun,
Expr[] args)
Evaluates a function's argument, handling ref vs non-ref
|
AbstractFunction |
JavaOverloadMethod.getActualFunction(Expr[] args)
Returns the actual function
|
int |
JavaInvoker.getMarshalingCost(Expr[] args) |
int |
JavaOverloadMethod.getMarshalingCost(Expr[] args)
Returns the cost of marshaling for this method given the args.
|
abstract int |
AbstractJavaMethod.getMarshalingCost(Expr[] args) |
void |
Env.pushCall(Expr call,
Value obj,
Value[] args)
Sets the calling function expression.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBinaryExpr
Common analysis for a PHP binary expression.
|
class |
AbstractLongValuedExpr
Represents a PHP expression.
|
class |
AbstractMethodExpr
Represents a PHP function expression.
|
class |
AbstractUnaryExpr
Represents a PHP boolean negation
|
class |
AbstractVarExpr
Represents an expression that is assignable
|
class |
ArrayGetExpr
Represents a PHP array reference expression.
|
class |
ArrayIsSetExpr
Represents a PHP array is set expression.
|
class |
ArrayTailExpr
Represents a PHP array[] reference expression.
|
class |
ArrayUnsetExpr
Represents a PHP array unset expression.
|
class |
BinaryAddExpr
Represents a PHP add expression.
|
class |
BinaryAndExpr
Represents a logical and expression.
|
class |
BinaryAppendExpr
Represents a PHP append ('.') expression.
|
class |
BinaryAssignExpr
Represents a PHP assignment expression.
|
class |
BinaryAssignListEachExpr
Represents a PHP list() = each() assignment expression.
|
class |
BinaryAssignListExpr
Represents a PHP list assignment expression.
|
class |
BinaryAssignRefExpr
Represents a PHP assignment expression.
|
class |
BinaryBitAndExpr
Represents a PHP bitwise and expression.
|
class |
BinaryBitOrExpr
Represents a PHP bitwise or expression.
|
class |
BinaryBitXorExpr
Represents a PHP bitwise xor expression.
|
class |
BinaryCharAtExpr
Represents the character at expression
|
class |
BinaryCommaExpr
A "($foo, $bar)" comma expression (evaluates all and returns first).
|
class |
BinaryDivExpr
Represents a PHP division expression.
|
class |
BinaryEqExpr
Represents a PHP equality testing expression.
|
class |
BinaryEqualsExpr
Represents a PHP equality testing expression.
|
class |
BinaryGeqExpr
Represents a PHP comparison expression.
|
class |
BinaryGtExpr
Represents a PHP comparison expression.
|
class |
BinaryInstanceOfExpr
Represents a PHP instanceof expression.
|
class |
BinaryInstanceOfVarExpr
Represents a PHP instanceof expression in which the right side is a variable
holding the string class name.
|
class |
BinaryLeftShiftExpr
Represents a PHP left shift expression.
|
class |
BinaryLeqExpr
Represents a PHP comparison expression.
|
class |
BinaryLtExpr
Represents a PHP comparison expression.
|
class |
BinaryModExpr
Represents a PHP mod expression.
|
class |
BinaryMulExpr
Represents a PHP multiplication expression.
|
class |
BinaryNeqExpr
Represents a PHP equality testing expression.
|
class |
BinaryOrExpr
Represents a logical or expression.
|
class |
BinaryRightShiftExpr
Represents a PHP right shift expression.
|
class |
BinarySubExpr
A "$b - $a" subtract expression.
|
class |
BinaryXorExpr
Represents a logical xor expression.
|
class |
CallExpr
A "foo(...)" function call.
|
class |
CallVarExpr
A "$foo(...)" function call.
|
class |
ClassConstExpr
Represents a PHP parent::FOO constant call expression.
|
class |
ClassConstructExpr
A Foo::__construct(...) method call expression.
|
class |
ClassConstructorExpr
Represents a PHP A::A consturctor call
|
class |
ClassFieldExpr
Represents a PHP class field reference A::$foo
|
class |
ClassFieldVarExpr
Represents a PHP static field reference.
|
class |
ClassMethodExpr
A Foo::bar(...) method call expression.
|
class |
ClassMethodVarExpr
Represents a PHP static method expression.
|
class |
ClassVarConstExpr
Represents a PHP parent::FOO constant call expression.
|
class |
ClassVarFieldExpr
Represents a variable class field reference $class::$b.
|
class |
ClassVarFieldVarExpr
Represents a variable class field reference $class::${"b"}.
|
class |
ClassVarMethodExpr
Represents a PHP static method expression ${class}:foo(...).
|
class |
ClassVarMethodVarExpr
Represents a PHP static method expression ${class}:${foo}(...).
|
class |
ClassVarNameConstExpr
Represents a PHP A::{$foo} constant call expression.
|
class |
ClassVarNameVirtualConstExpr
Represents a PHP parent::{$foo} constant call expression.
|
class |
ClassVarVarConstExpr
Represents a PHP $class::{$foo} constant call expression.
|
class |
ClassVirtualConstExpr
Represents a PHP parent::FOO constant call expression.
|
class |
ClassVirtualFieldExpr
Represents a PHP static field reference.
|
class |
ClassVirtualFieldVarExpr
Represents a PHP static field reference.
|
class |
ClassVirtualMethodExpr
Represents a PHP parent:: method call expression.
|
class |
ClassVirtualMethodVarExpr
Represents a "static:$foo(...)" method
|
class |
ClosureExpr
Represents a PHP closure expression.
|
class |
ConditionalExpr
Represents a conditional expression.
|
class |
ConditionalShortExpr
Represents a conditional expression.
|
class |
ConstClassExpr
Represents a PHP __CLASS__ expression for traits.
|
class |
ConstDirExpr
Represents a PHP __DIR__ constant expression.
|
class |
ConstExpr
Represents a PHP constant expression.
|
class |
ConstFileExpr
Represents a PHP __FILE__ constant expression.
|
class |
DieExpr
Represents the die expression
|
class |
FunArrayExpr
Represents the array function
|
class |
FunCloneExpr
Represents a PHP clone
|
class |
FunDieExpr
Represents the die expression
|
class |
FunEachExpr
Represents a PHP each expression.
|
class |
FunEmptyExpr
Represents the empty() expression.
|
class |
FunExitExpr
Represents the exit expression
|
class |
FunGetCalledClassExpr
Represents returns the current called class.
|
class |
FunGetClassExpr
Represents returns the current class.
|
class |
FunIncludeExpr
Represents a PHP include statement
|
class |
FunIncludeOnceExpr
Represents a PHP include statement
|
class |
FunIssetExpr
Represents a PHP isset call
|
class |
ImportExpr
Represents a PHP import statement
|
class |
ListHeadExpr
Represents a list assignment expression.
|
class |
LiteralBinaryStringExpr
Represents a PHP string literal expression.
|
class |
LiteralExpr
Represents a literal expression.
|
class |
LiteralLongExpr
Represents a PHP long literal expression.
|
class |
LiteralNullExpr
Represents a PHP null expression.
|
class |
LiteralStringExpr
Represents a PHP string literal expression.
|
class |
LiteralUnicodeExpr
Represents a PHP string literal expression.
|
class |
ObjectFieldExpr
Represents a PHP field reference.
|
class |
ObjectFieldVarExpr
Represents a PHP field reference.
|
class |
ObjectMethodExpr
Represents a PHP function expression.
|
class |
ObjectMethodVarExpr
A "$foo->$bar(...)" method call
|
class |
ObjectNewExpr
Represents a PHP function expression of the form "new ClassName()".
|
class |
ObjectNewStaticExpr
Represents a PHP function expression of the form "new static()".
|
class |
ObjectNewVarExpr
Represents a PHP function expression of the form "new $a()".
|
class |
ParamDefaultExpr
Represents a PHP default expression.
|
class |
ParamRequiredExpr
Represents a PHP required expression.
|
class |
ThisExpr
Represents the 'this' expression.
|
class |
ThisFieldExpr
Represents a PHP field reference.
|
class |
ThisFieldVarExpr
Represents a PHP field reference.
|
class |
ThisMethodExpr
Represents a PHP method call expression from $this.
|
class |
ThisMethodVarExpr
Represents a PHP method call expression from $this.
|
class |
ToArrayExpr
Converts to an array
|
class |
ToBinaryExpr
Converts to an string
|
class |
ToBooleanExpr
Converts to a boolean
|
class |
ToDoubleExpr
Converts to a double
|
class |
ToLongExpr
Converts to a long
|
class |
ToObjectExpr
Converts to an object
|
class |
ToStringExpr
Converts to an string
|
class |
ToUnicodeExpr
Converts to an string
|
class |
TraitParentClassConstExpr
Represents a PHP parent::FOO constant call expression.
|
class |
TraitParentClassMethodExpr
A parent::bar(...) method call expression.
|
class |
UnaryBitNotExpr
Represents a PHP bitwise not expression.
|
class |
UnaryCopyExpr
Represents a PHP variable assignment
|
class |
UnaryMinusExpr
A "- $a" unary minus.
|
class |
UnaryNotExpr
Represents a PHP boolean negation
|
class |
UnaryPlusExpr
A "+ $a" unary plus.
|
class |
UnaryPostIncrementExpr
Represents a PHP post increment expression.
|
class |
UnaryPreIncrementExpr
Represents a PHP pre increment expression.
|
class |
UnaryRefExpr
Represents a PHP reference argument.
|
class |
UnarySuppressErrorExpr
Represents a PHP error suppression
|
class |
UnaryUnsetExpr
Represents unsetting a PHP variable
|
class |
VarExpr
Represents a PHP variable expression.
|
class |
VarTempExpr
Represents a temp PHP variable expression.
|
class |
VarUnsetExpr
Represents unsetting a PHP variable
|
class |
VarVarExpr
Represents a PHP variable expression.
|
Modifier and Type | Field and Description |
---|---|
protected Expr[] |
ObjectMethodVarExpr._args |
protected Expr[] |
CallVarExpr._args |
protected Expr[] |
ObjectNewExpr._args |
protected Expr[] |
ClassVarMethodExpr._args |
protected Expr[] |
ClassVirtualMethodVarExpr._args |
protected Expr[] |
ClassMethodExpr._args |
protected Expr[] |
CallExpr._args |
protected Expr[] |
ClassVirtualMethodExpr._args |
protected Expr[] |
ObjectMethodExpr._args |
protected Expr[] |
ObjectNewStaticExpr._args |
protected Expr[] |
ObjectNewVarExpr._args |
protected Expr[] |
ClassConstructorExpr._args |
protected Expr[] |
TraitParentClassMethodExpr._args |
protected Expr[] |
ClassMethodVarExpr._args |
protected Expr[] |
ClassConstructExpr._args |
protected Expr[] |
ClassVarMethodVarExpr._args |
protected Expr |
ClassVarFieldExpr._className |
protected Expr |
ClassVarMethodExpr._className |
protected Expr |
ClassVarFieldVarExpr._className |
protected Expr |
ClassVarVarConstExpr._className |
protected Expr |
ClassVarConstExpr._className |
protected Expr |
ClassVarMethodVarExpr._className |
protected Expr |
ArrayTailExpr._expr |
protected Expr |
AbstractUnaryExpr._expr |
protected Expr |
ArrayGetExpr._expr |
protected Expr |
ArrayIsSetExpr._expr |
protected Expr |
ArrayUnsetExpr._expr |
protected Expr |
ConditionalShortExpr._falseExpr |
protected Expr |
ConditionalExpr._falseExpr |
protected Expr[] |
ObjectMethodVarExpr._fullArgs |
protected Expr[] |
ClassVirtualMethodVarExpr._fullArgs |
protected Expr[] |
ObjectNewVarExpr._fullArgs |
protected Expr[] |
ClassMethodVarExpr._fullArgs |
protected Expr[] |
ClassVarMethodVarExpr._fullArgs |
protected Expr |
ArrayGetExpr._index |
protected Expr |
ArrayIsSetExpr._index |
protected Expr |
ArrayUnsetExpr._index |
protected Expr |
BinaryCharAtExpr._indexExpr |
protected Expr[] |
FunArrayExpr._keys |
protected Expr |
AbstractBinaryExpr._left |
protected Expr |
ClassVirtualMethodVarExpr._methodName |
protected Expr |
ClassVarMethodVarExpr._methodName |
protected Expr |
ObjectMethodVarExpr._name |
protected Expr |
CallVarExpr._name |
protected Expr |
ClassVarVarConstExpr._name |
protected Expr |
ClassVarNameVirtualConstExpr._name |
protected Expr |
ObjectNewVarExpr._name |
protected Expr |
ClassVarNameConstExpr._name |
protected Expr |
ThisFieldVarExpr._nameExpr |
protected Expr |
ObjectFieldVarExpr._nameExpr |
protected Expr |
ClassMethodVarExpr._nameExpr |
protected Expr |
ObjectMethodVarExpr._objExpr |
protected Expr |
ObjectFieldExpr._objExpr |
protected Expr |
ObjectMethodExpr._objExpr |
protected Expr |
ObjectFieldVarExpr._objExpr |
protected Expr |
BinaryCharAtExpr._objExpr |
protected Expr |
AbstractBinaryExpr._right |
protected Expr |
ConditionalShortExpr._test |
protected Expr |
ConditionalExpr._test |
protected Expr |
ConditionalExpr._trueExpr |
protected Expr |
BinaryAssignListExpr._value |
protected Expr |
FunExitExpr._value |
protected Expr |
FunEmptyExpr._value |
protected Expr |
BinaryAssignExpr._value |
protected Expr |
BinaryAssignListEachExpr._value |
protected Expr |
BinaryAssignRefExpr._value |
protected Expr |
FunDieExpr._value |
protected Expr |
DieExpr._value |
protected Expr[] |
FunArrayExpr._values |
protected Expr |
VarVarExpr._var |
protected Expr[] |
ListHeadExpr._varList |
protected Expr |
ClassFieldVarExpr._varName |
protected Expr |
ClassVarFieldVarExpr._varName |
protected Expr |
ClassVirtualFieldVarExpr._varName |
static Expr[] |
Expr.NULL_ARGS |
Modifier and Type | Method and Description |
---|---|
Expr |
VarExpr.copy(Location location)
Copy for things like $a .= "test";
|
static Expr |
ToStringExpr.create(Expr expr) |
Expr |
ExprFactory.createAdd(Expr left,
Expr right)
Creates an addition expression.
|
Expr |
ExprFactory.createAnd(Expr left,
Expr right)
Creates an and expression.
|
Expr |
ExprFactory.createAppend(Expr left,
Expr right)
Creates an append expression
|
Expr |
ExprFactory.createArrayFun(java.util.ArrayList<Expr> keys,
java.util.ArrayList<Expr> values)
Creates a array() expression.
|
Expr |
ExprFactory.createAssign(AbstractVarExpr left,
Expr right)
Creates an assignment expression.
|
Expr |
UnarySuppressErrorExpr.createAssign(QuercusParser parser,
Expr value)
Creates the assignment.
|
Expr |
Expr.createAssign(QuercusParser parser,
Expr value) |
Expr |
AbstractVarExpr.createAssign(QuercusParser parser,
Expr value)
Creates the assignment.
|
Expr |
VarExpr.createAssign(QuercusParser parser,
Expr value)
Creates the assignment.
|
Expr |
Expr.createAssignFrom(QuercusParser parser,
AbstractVarExpr leftHandSide)
Creates an assignment using this value as the right hand side.
|
Expr |
UnaryRefExpr.createAssignFrom(QuercusParser parser,
AbstractVarExpr leftHandSide)
Creates an assignment using this value as the right hand side.
|
Expr |
ExprFactory.createAssignRef(AbstractVarExpr left,
Expr right)
Creates an assignment expression.
|
Expr |
UnarySuppressErrorExpr.createAssignRef(QuercusParser parser,
Expr value)
Creates the assignment.
|
Expr |
Expr.createAssignRef(QuercusParser parser,
Expr value) |
Expr |
AbstractVarExpr.createAssignRef(QuercusParser parser,
Expr value)
Creates the assignment.
|
Expr |
VarExpr.createAssignRef(QuercusParser parser,
Expr value)
Creates the assignment.
|
Expr |
ExprFactory.createBinary(BinaryValue value)
Creates a binary literal expression.
|
Expr |
ExprFactory.createBitAnd(Expr left,
Expr right)
Creates a bit-and expression.
|
Expr |
ExprFactory.createBitNot(Expr expr)
Creates a unary inversion '~a' expression.
|
Expr |
ExprFactory.createBitOr(Expr left,
Expr right)
Creates a bit-or expression.
|
Expr |
ExprFactory.createBitXor(Expr left,
Expr right)
Creates a bit-xor expression.
|
Expr |
ObjectFieldExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassVarFieldExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassVirtualFieldExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassFieldVarExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
Expr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassFieldExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
TraitParentClassConstExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ThisFieldExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassVarFieldVarExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassVarVarConstExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassVarNameVirtualConstExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassConstExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassVarConstExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ThisFieldVarExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassVirtualFieldVarExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassVirtualConstExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ObjectFieldVarExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassVarNameConstExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ExprFactory.createCall(QuercusParser parser,
StringValue name,
java.util.ArrayList<Expr> args)
Creates a new function call.
|
Expr |
ExprFactory.createClassConst(Expr className,
Expr name)
Creates an expression class const expression ($class::{$foo}).
|
Expr |
ExprFactory.createClassConst(Expr className,
StringValue name)
Creates an expression class const expression ($class::FOO).
|
Expr |
Expr.createClassConst(QuercusParser parser,
Expr name)
Creates a class field $class::foo
|
Expr |
ConstExpr.createClassConst(QuercusParser parser,
Expr name)
Creates a class field Foo::$bar
|
Expr |
LiteralStringExpr.createClassConst(QuercusParser parser,
Expr name)
Creates a class field $class::foo
|
Expr |
Expr.createClassConst(QuercusParser parser,
StringValue name)
Creates a class field $class::foo
|
Expr |
ConstExpr.createClassConst(QuercusParser parser,
StringValue name)
Creates a class field Foo::bar
|
Expr |
LiteralStringExpr.createClassConst(QuercusParser parser,
StringValue name)
Creates a class field $class::foo
|
Expr |
ExprFactory.createClassConstructor(Location loc,
java.lang.String className,
StringValue methodName,
java.util.ArrayList<Expr> args)
Creates a class method call A::foo(...)
|
Expr |
ExprFactory.createClassField(Expr className,
Expr name)
Creates an class static field '$class::$b' expression.
|
Expr |
ExprFactory.createClassField(Expr className,
StringValue name)
Creates an class static field '$a::$b' expression.
|
Expr |
Expr.createClassField(QuercusParser parser,
Expr name)
Creates a class field $class::${foo}
|
Expr |
ConstExpr.createClassField(QuercusParser parser,
Expr name)
Creates a class field Foo::${bar}
|
Expr |
Expr.createClassField(QuercusParser parser,
StringValue name)
Creates a class field $class::$foo
|
Expr |
ConstExpr.createClassField(QuercusParser parser,
StringValue name)
Creates a class field Foo::$bar
|
Expr |
ExprFactory.createClassField(java.lang.String className,
Expr name)
Creates an class static field 'a::${b}' expression.
|
Expr |
ExprFactory.createClassField(java.lang.String className,
StringValue name)
Creates an class static field 'a::$b' expression.
|
Expr |
ExprFactory.createClassMethodCall(Location loc,
Expr className,
Expr methodName,
java.util.ArrayList<Expr> args)
Creates a new method ${class}::$f()
|
Expr |
ExprFactory.createClassMethodCall(Location loc,
Expr className,
StringValue methodName,
java.util.ArrayList<Expr> args)
Creates a class method call ${class}::foo(...)
|
Expr |
ExprFactory.createClassMethodCall(Location loc,
java.lang.String className,
Expr methodName,
java.util.ArrayList<Expr> args)
Creates a new method A::$f()
|
Expr |
ExprFactory.createClassMethodCall(Location loc,
java.lang.String className,
StringValue methodName,
java.util.ArrayList<Expr> args)
Creates a class method call A::foo(...)
|
Expr |
ExprFactory.createClassVirtualField(Expr name)
Creates a class static field 'static::${b}' expression.
|
Expr |
ExprFactory.createClassVirtualField(StringValue name)
Creates a class static field 'static::$b' expression.
|
Expr |
ExprFactory.createClassVirtualMethodCall(Location loc,
Expr var,
java.util.ArrayList<Expr> args)
Creates a new method static::$f()
|
Expr |
ExprFactory.createClassVirtualMethodCall(Location loc,
StringValue methodName,
java.util.ArrayList<Expr> args)
Creates a new function call based on the class context.
|
Expr |
ExprFactory.createClone(Expr expr)
Creates a clone 'clone a' expression.
|
Expr |
ExprFactory.createComma(Expr left,
Expr right)
Creates a comma expression.
|
Expr |
ExprFactory.createConditional(Expr test,
Expr left,
Expr right)
Creates an conditional expression.
|
Expr |
ExprFactory.createCopy(Expr expr)
Creates a clone 'clone a' expression.
|
Expr |
CallVarExpr.createCopy(ExprFactory factory)
Returns the copy of the value.
|
Expr |
ClassVarMethodExpr.createCopy(ExprFactory factory)
Returns the copy of the value.
|
Expr |
ClassVirtualMethodVarExpr.createCopy(ExprFactory factory)
Returns the copy of the value.
|
Expr |
Expr.createCopy(ExprFactory factory)
Creates a assignment
|
Expr |
CallExpr.createCopy(ExprFactory factory)
Returns the copy of the value.
|
Expr |
AbstractVarExpr.createCopy(ExprFactory factory)
Creates the copy.
|
Expr |
ClosureExpr.createCopy(ExprFactory factory)
Returns the copy of the value.
|
Expr |
BinaryAssignExpr.createCopy(ExprFactory factory)
Creates a assignment
|
Expr |
ClassMethodVarExpr.createCopy(ExprFactory factory)
Returns the copy of the value.
|
Expr |
ClassVarMethodVarExpr.createCopy(ExprFactory factory)
Returns the copy of the value.
|
Expr |
ExprFactory.createDefault()
Creates a default
|
Expr |
Expr.createDeref(ExprFactory factory) |
Expr |
ExprFactory.createDie(Expr expr)
Creates a die 'die("msg")' expression.
|
Expr |
ExprFactory.createDiv(Expr left,
Expr right)
Creates a division expression.
|
Expr |
ExprFactory.createEach(Expr expr)
Creates an each expression.
|
Expr |
ExprFactory.createEmpty(Location location,
Expr expr)
Creates an empty() expression.
|
Expr |
ExprFactory.createEq(Expr left,
Expr right)
Creates an eq expression.
|
Expr |
ExprFactory.createEquals(Expr left,
Expr right)
Creates an equals expression.
|
Expr |
ExprFactory.createExit(Expr expr)
Creates an exit 'exit("msg")' expression.
|
Expr |
Expr.createFieldGet(ExprFactory factory,
Location location,
Expr name)
Creates a field ref
|
Expr |
ThisExpr.createFieldGet(ExprFactory factory,
Location location,
Expr name)
Creates a field ref
|
Expr |
Expr.createFieldGet(ExprFactory factory,
Location location,
StringValue name)
Creates a field ref
|
Expr |
ThisExpr.createFieldGet(ExprFactory factory,
Location location,
StringValue name)
Creates a field ref
|
Expr |
ExprFactory.createFieldGet(Expr base,
StringValue name)
Creates an object get '$a->b' expression.
|
Expr |
ExprFactory.createFieldVarGet(Expr base,
Expr name)
Creates an object get '$a->$b' expression.
|
Expr |
ExprFactory.createGeq(Expr left,
Expr right)
Creates a geq expression.
|
Expr |
ExprFactory.createGt(Expr left,
Expr right)
Creates a gt expression.
|
Expr |
ExprFactory.createImport(Location loc,
java.lang.String name,
boolean isWildcard)
Creates a Quercus class import.
|
Expr |
ExprFactory.createInclude(Location loc,
Path source,
Expr expr)
Creates an include expr
|
Expr |
ExprFactory.createIncludeOnce(Location loc,
Path source,
Expr expr)
Creates an include expr
|
Expr |
ExprFactory.createInstanceOf(Expr expr,
java.lang.String name)
Creates an instanceof expression.
|
Expr |
ExprFactory.createInstanceOfVar(Expr expr,
Expr name)
Creates an instanceof expression.
|
Expr |
Expr.createIsset(ExprFactory factory)
Creates an isset expression
|
Expr |
ExprFactory.createLeftShift(Expr left,
Expr right)
Creates a left-shift expression.
|
Expr |
ExprFactory.createLeq(Expr left,
Expr right)
Creates a leq expression.
|
Expr |
ExprFactory.createList(ListHeadExpr head,
Expr value)
Creates a list expression.
|
Expr |
ExprFactory.createList(QuercusParser parser,
ListHeadExpr head,
Expr value)
Creates a list expression.
|
Expr |
ExprFactory.createListEach(ListHeadExpr head,
Expr value)
Creates a list expression.
|
Expr |
ExprFactory.createLiteral(Value literal)
Creates a string literal expression.
|
Expr |
ExprFactory.createLong(long value)
Creates a long literal expression.
|
Expr |
ExprFactory.createLt(Expr left,
Expr right)
Creates a lt expression.
|
Expr |
ExprFactory.createMethodCall(Location loc,
Expr objExpr,
Expr methodName,
java.util.ArrayList<Expr> args)
Creates a variable method call $a->${"foo"}(...).
|
Expr |
ExprFactory.createMethodCall(Location loc,
Expr objExpr,
StringValue methodName,
java.util.ArrayList<Expr> args)
Creates a method call $a->foo(...).
|
Expr |
ExprFactory.createMinus(Expr expr)
Creates a unary minus '-a' expression.
|
Expr |
ExprFactory.createMod(Expr left,
Expr right)
Creates a modulo expression.
|
Expr |
ExprFactory.createMul(Expr left,
Expr right)
Creates a multiplication expression.
|
Expr |
ExprFactory.createNeq(Expr left,
Expr right)
Creates a neq expression.
|
Expr |
ExprFactory.createNot(Expr expr)
Creates a unary not '!a' expression.
|
Expr |
ExprFactory.createNull()
Creates a null literal expression.
|
Expr |
ExprFactory.createOr(Expr left,
Expr right)
Creates an or expression.
|
Expr |
ExprFactory.createPlus(Expr expr)
Creates a unary plus '+a' expression.
|
Expr |
CallVarExpr.createRef(QuercusParser parser)
Returns the reference of the value.
|
Expr |
ClassVarMethodExpr.createRef(QuercusParser parser)
Returns the reference of the value.
|
Expr |
ClassVirtualMethodVarExpr.createRef(QuercusParser parser)
Returns the reference of the value.
|
Expr |
Expr.createRef(QuercusParser parser)
Creates a reference.
|
Expr |
AbstractVarExpr.createRef(QuercusParser parser)
Creates the reference
|
Expr |
ClosureExpr.createRef(QuercusParser parser)
Returns the reference of the value.
|
Expr |
ClassMethodVarExpr.createRef(QuercusParser parser)
Returns the reference of the value.
|
Expr |
ClassVarMethodVarExpr.createRef(QuercusParser parser)
Returns the reference of the value.
|
Expr |
ExprFactory.createRequire(Location loc,
Path source,
Expr expr)
Creates an include expr
|
Expr |
ExprFactory.createRequired()
Creates a required
|
Expr |
ExprFactory.createRequireOnce(Location loc,
Path source,
Expr expr)
Creates an include expr
|
Expr |
ExprFactory.createRightShift(Expr left,
Expr right)
Creates a right-shift expression.
|
Expr |
ExprFactory.createShortConditional(Expr test,
Expr right)
Creates an conditional expression.
|
Expr |
ExprFactory.createString(StringValue lexeme)
Creates a string (php5) literal expression.
|
Expr |
ExprFactory.createSub(Expr left,
Expr right)
Creates a subtraction expression.
|
Expr |
ExprFactory.createSuppress(Expr expr)
Creates an error suppression '@a' expression.
|
Expr |
ExprFactory.createThisMethod(Location loc,
ThisExpr qThis,
Expr methodName,
java.util.ArrayList<Expr> args)
Creates a $this method call $this->foo(...).
|
Expr |
ExprFactory.createThisMethod(Location loc,
ThisExpr qThis,
StringValue methodName,
java.util.ArrayList<Expr> args)
Creates a $this method call $this->foo(...).
|
Expr |
ExprFactory.createToArray(Expr expr)
Creates an array cast
|
Expr |
ExprFactory.createToBinary(Expr expr)
Creates a binary string cast
|
Expr |
ExprFactory.createToBoolean(Expr expr)
Creates a boolean cast
|
Expr |
ExprFactory.createToDouble(Expr expr)
Creates a double cast
|
Expr |
ExprFactory.createToLong(Expr expr)
Creates a long cast
|
Expr |
ExprFactory.createToObject(Expr expr)
Creates an object cast
|
Expr |
ExprFactory.createToString(Expr expr)
Creates a string cast
|
Expr |
ExprFactory.createToUnicode(Expr expr)
Creates a unicode cast
|
Expr |
ExprFactory.createTraitParentClassMethodCall(Location loc,
java.lang.String traitName,
StringValue methodName,
java.util.ArrayList<Expr> args)
Creates a parent class method call parent::foo(...)
|
Expr |
ExprFactory.createUnicode(UnicodeValue lexeme)
Creates a string literal expression.
|
Expr |
ExprFactory.createUnsetVar(AbstractVarExpr var)
Creates an unset '$a' expression.
|
Expr |
ExprFactory.createXor(Expr left,
Expr right)
Creates an xor expression.
|
Expr |
ArrayTailExpr.getExpr()
Returns the expr.
|
Expr |
AbstractUnaryExpr.getExpr()
Returns the child expression.
|
Expr |
ArrayGetExpr.getExpr()
Returns the expr.
|
Expr |
VarVarExpr.getExpr() |
Expr |
ExprHandle.getExpr()
Gets the expression
|
Expr |
ArrayGetExpr.getIndex()
Returns the index.
|
Expr |
AbstractBinaryExpr.getLeft()
Returns the left expression.
|
Expr |
AbstractBinaryExpr.getRight()
Returns the right expression.
|
Expr |
BinaryAppendExpr.getValue()
Returns the value expression.
|
Expr[] |
ListHeadExpr.getVarList() |
Modifier and Type | Method and Description |
---|---|
static Expr |
ToStringExpr.create(Expr expr) |
Expr |
ExprFactory.createAdd(Expr left,
Expr right)
Creates an addition expression.
|
Expr |
ExprFactory.createAnd(Expr left,
Expr right)
Creates an and expression.
|
Expr |
ExprFactory.createAppend(Expr left,
Expr right)
Creates an append expression
|
protected BinaryAppendExpr |
ExprFactory.createAppendImpl(Expr left,
BinaryAppendExpr right) |
ArrayGetExpr |
ExprFactory.createArrayGet(Location location,
Expr base,
Expr index)
Creates an array get 'a[0]' expression.
|
ArrayTailExpr |
ExprFactory.createArrayTail(Location location,
Expr base)
Creates an array tail 'a[]' expression.
|
Expr |
ExprFactory.createAssign(AbstractVarExpr left,
Expr right)
Creates an assignment expression.
|
Expr |
UnarySuppressErrorExpr.createAssign(QuercusParser parser,
Expr value)
Creates the assignment.
|
Expr |
Expr.createAssign(QuercusParser parser,
Expr value) |
Expr |
AbstractVarExpr.createAssign(QuercusParser parser,
Expr value)
Creates the assignment.
|
Expr |
VarExpr.createAssign(QuercusParser parser,
Expr value)
Creates the assignment.
|
Expr |
ExprFactory.createAssignRef(AbstractVarExpr left,
Expr right)
Creates an assignment expression.
|
Expr |
UnarySuppressErrorExpr.createAssignRef(QuercusParser parser,
Expr value)
Creates the assignment.
|
Expr |
Expr.createAssignRef(QuercusParser parser,
Expr value) |
Expr |
AbstractVarExpr.createAssignRef(QuercusParser parser,
Expr value)
Creates the assignment.
|
Expr |
VarExpr.createAssignRef(QuercusParser parser,
Expr value)
Creates the assignment.
|
Expr |
ExprFactory.createBitAnd(Expr left,
Expr right)
Creates a bit-and expression.
|
Expr |
ExprFactory.createBitNot(Expr expr)
Creates a unary inversion '~a' expression.
|
Expr |
ExprFactory.createBitOr(Expr left,
Expr right)
Creates a bit-or expression.
|
Expr |
ExprFactory.createBitXor(Expr left,
Expr right)
Creates a bit-xor expression.
|
BreakStatement |
ExprFactory.createBreak(Location location,
Expr target,
java.util.ArrayList<java.lang.String> loopLabelList)
Creates a break statement
|
BinaryCharAtExpr |
ExprFactory.createCharAt(Expr base,
Expr index)
Creates a char at 'a{0}' expression.
|
Expr |
ExprFactory.createClassConst(Expr className,
Expr name)
Creates an expression class const expression ($class::{$foo}).
|
Expr |
ExprFactory.createClassConst(Expr className,
StringValue name)
Creates an expression class const expression ($class::FOO).
|
Expr |
Expr.createClassConst(QuercusParser parser,
Expr name)
Creates a class field $class::foo
|
Expr |
ConstExpr.createClassConst(QuercusParser parser,
Expr name)
Creates a class field Foo::$bar
|
Expr |
LiteralStringExpr.createClassConst(QuercusParser parser,
Expr name)
Creates a class field $class::foo
|
ClassVarNameConstExpr |
ExprFactory.createClassConst(java.lang.String className,
Expr name)
Creates a class const expression.
|
Expr |
ExprFactory.createClassField(Expr className,
Expr name)
Creates an class static field '$class::$b' expression.
|
Expr |
ExprFactory.createClassField(Expr className,
StringValue name)
Creates an class static field '$a::$b' expression.
|
Expr |
Expr.createClassField(QuercusParser parser,
Expr name)
Creates a class field $class::${foo}
|
Expr |
ConstExpr.createClassField(QuercusParser parser,
Expr name)
Creates a class field Foo::${bar}
|
Expr |
ExprFactory.createClassField(java.lang.String className,
Expr name)
Creates an class static field 'a::${b}' expression.
|
Expr |
ExprFactory.createClassMethodCall(Location loc,
Expr className,
Expr methodName,
java.util.ArrayList<Expr> args)
Creates a new method ${class}::$f()
|
Expr |
ExprFactory.createClassMethodCall(Location loc,
Expr className,
StringValue methodName,
java.util.ArrayList<Expr> args)
Creates a class method call ${class}::foo(...)
|
Expr |
ExprFactory.createClassMethodCall(Location loc,
java.lang.String className,
Expr methodName,
java.util.ArrayList<Expr> args)
Creates a new method A::$f()
|
Statement |
ExprFactory.createClassStatic(Location loc,
StringValue staticName,
VarExpr var,
Expr value)
Creates a static statement
|
ClassVarNameVirtualConstExpr |
ExprFactory.createClassVirtualConst(Expr name)
Creates a class const expression (static::{$foo}).
|
Expr |
ExprFactory.createClassVirtualField(Expr name)
Creates a class static field 'static::${b}' expression.
|
Expr |
ExprFactory.createClassVirtualMethodCall(Location loc,
Expr var,
java.util.ArrayList<Expr> args)
Creates a new method static::$f()
|
Expr |
ExprFactory.createClone(Expr expr)
Creates a clone 'clone a' expression.
|
Statement |
ExprFactory.createClosureStatic(Location loc,
VarExpr var,
Expr value)
Creates a static statement that is within a closure scope
|
Expr |
ExprFactory.createComma(Expr left,
Expr right)
Creates a comma expression.
|
Expr |
ExprFactory.createConditional(Expr test,
Expr left,
Expr right)
Creates an conditional expression.
|
ContinueStatement |
ExprFactory.createContinue(Location location,
Expr target,
java.util.ArrayList<java.lang.String> loopLabelList)
Creates a continue statement
|
Expr |
ExprFactory.createCopy(Expr expr)
Creates a clone 'clone a' expression.
|
Expr |
ExprFactory.createDie(Expr expr)
Creates a die 'die("msg")' expression.
|
Expr |
ExprFactory.createDiv(Expr left,
Expr right)
Creates a division expression.
|
Statement |
ExprFactory.createDo(Location loc,
Expr test,
Statement block,
java.lang.String label)
Creates a do-while statement
|
Expr |
ExprFactory.createEach(Expr expr)
Creates an each expression.
|
Statement |
ExprFactory.createEcho(Location loc,
Expr expr)
Creates an echo statement
|
Expr |
ExprFactory.createEmpty(Location location,
Expr expr)
Creates an empty() expression.
|
Expr |
ExprFactory.createEq(Expr left,
Expr right)
Creates an eq expression.
|
Expr |
ExprFactory.createEquals(Expr left,
Expr right)
Creates an equals expression.
|
Expr |
ExprFactory.createExit(Expr expr)
Creates an exit 'exit("msg")' expression.
|
Statement |
ExprFactory.createExpr(Location loc,
Expr expr)
Creates an expr statement
|
Expr |
Expr.createFieldGet(ExprFactory factory,
Location location,
Expr name)
Creates a field ref
|
Expr |
ThisExpr.createFieldGet(ExprFactory factory,
Location location,
Expr name)
Creates a field ref
|
Expr |
ExprFactory.createFieldGet(Expr base,
StringValue name)
Creates an object get '$a->b' expression.
|
Expr |
ExprFactory.createFieldVarGet(Expr base,
Expr name)
Creates an object get '$a->$b' expression.
|
Statement |
ExprFactory.createFor(Location loc,
Expr init,
Expr test,
Expr incr,
Statement block,
java.lang.String label)
Creates a for statement
|
Statement |
ExprFactory.createForeach(Location loc,
Expr objExpr,
AbstractVarExpr key,
AbstractVarExpr value,
boolean isRef,
Statement block,
java.lang.String label)
Creates a foreach statement
|
Expr |
ExprFactory.createGeq(Expr left,
Expr right)
Creates a geq expression.
|
Expr |
ExprFactory.createGt(Expr left,
Expr right)
Creates a gt expression.
|
Statement |
ExprFactory.createIf(Location loc,
Expr test,
Statement trueBlock,
Statement falseBlock)
Creates an if statement
|
Expr |
ExprFactory.createInclude(Location loc,
Path source,
Expr expr)
Creates an include expr
|
Expr |
ExprFactory.createIncludeOnce(Location loc,
Path source,
Expr expr)
Creates an include expr
|
Expr |
ExprFactory.createInstanceOf(Expr expr,
java.lang.String name)
Creates an instanceof expression.
|
Expr |
ExprFactory.createInstanceOfVar(Expr expr,
Expr name)
Creates an instanceof expression.
|
Expr |
ExprFactory.createLeftShift(Expr left,
Expr right)
Creates a left-shift expression.
|
Expr |
ExprFactory.createLeq(Expr left,
Expr right)
Creates a leq expression.
|
Expr |
ExprFactory.createList(ListHeadExpr head,
Expr value)
Creates a list expression.
|
Expr |
ExprFactory.createList(QuercusParser parser,
ListHeadExpr head,
Expr value)
Creates a list expression.
|
Expr |
ExprFactory.createListEach(ListHeadExpr head,
Expr value)
Creates a list expression.
|
Expr |
ExprFactory.createLt(Expr left,
Expr right)
Creates a lt expression.
|
Expr |
ExprFactory.createMethodCall(Location loc,
Expr objExpr,
Expr methodName,
java.util.ArrayList<Expr> args)
Creates a variable method call $a->${"foo"}(...).
|
Expr |
ExprFactory.createMethodCall(Location loc,
Expr objExpr,
StringValue methodName,
java.util.ArrayList<Expr> args)
Creates a method call $a->foo(...).
|
Expr |
ExprFactory.createMinus(Expr expr)
Creates a unary minus '-a' expression.
|
Expr |
ExprFactory.createMod(Expr left,
Expr right)
Creates a modulo expression.
|
Expr |
ExprFactory.createMul(Expr left,
Expr right)
Creates a multiplication expression.
|
Expr |
ExprFactory.createNeq(Expr left,
Expr right)
Creates a neq expression.
|
Expr |
ExprFactory.createNot(Expr expr)
Creates a unary not '!a' expression.
|
Expr |
ExprFactory.createOr(Expr left,
Expr right)
Creates an or expression.
|
Expr |
ExprFactory.createPlus(Expr expr)
Creates a unary plus '+a' expression.
|
UnaryPostIncrementExpr |
ExprFactory.createPostIncrement(Expr expr,
int incr)
Creates a post increment 'a++' expression.
|
UnaryPreIncrementExpr |
ExprFactory.createPreIncrement(Expr expr,
int incr)
Creates a pre increment '++a' expression.
|
UnaryRefExpr |
ExprFactory.createRef(Expr base)
Creates a ref '&$a' expression.
|
Expr |
ExprFactory.createRequire(Location loc,
Path source,
Expr expr)
Creates an include expr
|
Expr |
ExprFactory.createRequireOnce(Location loc,
Path source,
Expr expr)
Creates an include expr
|
Statement |
ExprFactory.createReturn(Location loc,
Expr value)
Creates a return statement
|
Statement |
ExprFactory.createReturnRef(Location loc,
Expr value)
Creates a return ref statement
|
Expr |
ExprFactory.createRightShift(Expr left,
Expr right)
Creates a right-shift expression.
|
Expr |
ExprFactory.createShortConditional(Expr test,
Expr right)
Creates an conditional expression.
|
Statement |
ExprFactory.createStatic(Location loc,
StringValue uniqueStaticName,
VarExpr var,
Expr value)
Creates a static statement
|
Expr |
ExprFactory.createSub(Expr left,
Expr right)
Creates a subtraction expression.
|
Expr |
ExprFactory.createSuppress(Expr expr)
Creates an error suppression '@a' expression.
|
Statement |
ExprFactory.createSwitch(Location loc,
Expr value,
java.util.ArrayList<Expr[]> caseList,
java.util.ArrayList<BlockStatement> blockList,
Statement defaultBlock,
java.lang.String label)
Creates a switch statement
|
ThisFieldVarExpr |
ExprFactory.createThisField(Location location,
ThisExpr qThis,
Expr name)
Creates a "$this->$foo" expression.
|
Expr |
ExprFactory.createThisMethod(Location loc,
ThisExpr qThis,
Expr methodName,
java.util.ArrayList<Expr> args)
Creates a $this method call $this->foo(...).
|
Statement |
ExprFactory.createThrow(Location loc,
Expr value)
Creates a throw statement
|
Expr |
ExprFactory.createToArray(Expr expr)
Creates an array cast
|
Expr |
ExprFactory.createToBinary(Expr expr)
Creates a binary string cast
|
Expr |
ExprFactory.createToBoolean(Expr expr)
Creates a boolean cast
|
Expr |
ExprFactory.createToDouble(Expr expr)
Creates a double cast
|
Expr |
ExprFactory.createToLong(Expr expr)
Creates a long cast
|
Expr |
ExprFactory.createToObject(Expr expr)
Creates an object cast
|
Expr |
ExprFactory.createToString(Expr expr)
Creates a string cast
|
Expr |
ExprFactory.createToUnicode(Expr expr)
Creates a unicode cast
|
CallVarExpr |
ExprFactory.createVarFunction(Location loc,
Expr name,
java.util.ArrayList<Expr> args)
Creates a new var function call.
|
ObjectNewVarExpr |
ExprFactory.createVarNew(Location loc,
Expr name,
java.util.ArrayList<Expr> args)
Creates a new function call.
|
VarVarExpr |
ExprFactory.createVarVar(Expr var)
Creates a var expression.
|
Statement |
ExprFactory.createWhile(Location loc,
Expr test,
Statement block,
java.lang.String label)
Creates a while statement
|
Expr |
ExprFactory.createXor(Expr left,
Expr right)
Creates an xor expression.
|
protected Value |
AbstractMethodExpr.eval(Env env,
Value qThis,
StringValue methodName,
int hashCode,
Expr[] argExprs)
Evaluates the expression.
|
static Value[] |
Expr.evalArgs(Env env,
Expr[] exprs)
Evaluates arguments
|
Value |
Expr.evalArrayAssign(Env env,
Expr indexExpr,
Expr valueExpr)
Evaluates as an array index assign ($a[index] = value).
|
Value |
ThisFieldExpr.evalArrayAssign(Env env,
Expr indexExpr,
Expr valueExpr)
Evaluates as an array index assign ($a[index] = value).
|
Value |
ThisFieldVarExpr.evalArrayAssign(Env env,
Expr indexExpr,
Expr valueExpr)
Evaluates as an array index assign ($a[index] = value).
|
Value |
Expr.evalArrayAssignRef(Env env,
Expr indexExpr,
Expr valueExpr)
Evaluates as an array index assign ($a[index] = value).
|
Value |
ThisFieldExpr.evalArrayAssignRef(Env env,
Expr indexExpr,
Expr valueExpr)
Evaluates as an array index assign ($a[index] = value).
|
Value |
ThisFieldVarExpr.evalArrayAssignRef(Env env,
Expr indexExpr,
Expr valueExpr)
Evaluates as an array index assign ($a[index] = &value).
|
Value |
Expr.evalArrayAssignRef(Env env,
Expr indexExpr,
Value value)
Evaluates as an array index assign ($a[index] = value).
|
Value |
ArrayGetExpr.evalAssignRef(Env env,
Expr valueExpr)
Evaluates the expression.
|
Value |
Expr.evalAssignRef(Env env,
Expr valueExpr)
Evaluates an assignment.
|
Value |
ArrayGetExpr.evalAssignValue(Env env,
Expr valueExpr)
Evaluates the expression.
|
Value |
Expr.evalAssignValue(Env env,
Expr valueExpr)
Evaluates an assignment.
|
void |
ObjectFieldExpr.evalUnsetArray(Env env,
Expr indexExpr)
Evaluates the expression as an array index unset
|
void |
Expr.evalUnsetArray(Env env,
Expr indexExpr)
Evaluates the expression as an array index unset
|
void |
ExprHandle.setExpr(Expr expr)
Sets the expression
|
Modifier and Type | Method and Description |
---|---|
Expr |
ExprFactory.createArrayFun(java.util.ArrayList<Expr> keys,
java.util.ArrayList<Expr> values)
Creates a array() expression.
|
Expr |
ExprFactory.createArrayFun(java.util.ArrayList<Expr> keys,
java.util.ArrayList<Expr> values)
Creates a array() expression.
|
Expr |
ObjectFieldExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassVarFieldExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassVirtualFieldExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassFieldVarExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
Expr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassFieldExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
TraitParentClassConstExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ThisFieldExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassVarFieldVarExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassVarVarConstExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassVarNameVirtualConstExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassConstExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassVarConstExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ThisFieldVarExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassVirtualFieldVarExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassVirtualConstExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ObjectFieldVarExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ClassVarNameConstExpr.createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Expr |
ExprFactory.createCall(QuercusParser parser,
StringValue name,
java.util.ArrayList<Expr> args)
Creates a new function call.
|
Expr |
ExprFactory.createClassConstructor(Location loc,
java.lang.String className,
StringValue methodName,
java.util.ArrayList<Expr> args)
Creates a class method call A::foo(...)
|
Expr |
ExprFactory.createClassMethodCall(Location loc,
Expr className,
Expr methodName,
java.util.ArrayList<Expr> args)
Creates a new method ${class}::$f()
|
Expr |
ExprFactory.createClassMethodCall(Location loc,
Expr className,
StringValue methodName,
java.util.ArrayList<Expr> args)
Creates a class method call ${class}::foo(...)
|
Expr |
ExprFactory.createClassMethodCall(Location loc,
java.lang.String className,
Expr methodName,
java.util.ArrayList<Expr> args)
Creates a new method A::$f()
|
Expr |
ExprFactory.createClassMethodCall(Location loc,
java.lang.String className,
StringValue methodName,
java.util.ArrayList<Expr> args)
Creates a class method call A::foo(...)
|
Expr |
ExprFactory.createClassVirtualMethodCall(Location loc,
Expr var,
java.util.ArrayList<Expr> args)
Creates a new method static::$f()
|
Expr |
ExprFactory.createClassVirtualMethodCall(Location loc,
StringValue methodName,
java.util.ArrayList<Expr> args)
Creates a new function call based on the class context.
|
ListHeadExpr |
ExprFactory.createListHead(java.util.ArrayList<Expr> keys)
Creates a list expression.
|
Expr |
ExprFactory.createMethodCall(Location loc,
Expr objExpr,
Expr methodName,
java.util.ArrayList<Expr> args)
Creates a variable method call $a->${"foo"}(...).
|
Expr |
ExprFactory.createMethodCall(Location loc,
Expr objExpr,
StringValue methodName,
java.util.ArrayList<Expr> args)
Creates a method call $a->foo(...).
|
ObjectNewExpr |
ExprFactory.createNew(Location loc,
java.lang.String name,
java.util.ArrayList<Expr> args)
Creates a new function call new foo(...).
|
ObjectNewStaticExpr |
ExprFactory.createNewStatic(Location loc,
java.util.ArrayList<Expr> args)
Creates a new function call new static(...).
|
Expr |
ExprFactory.createThisMethod(Location loc,
ThisExpr qThis,
Expr methodName,
java.util.ArrayList<Expr> args)
Creates a $this method call $this->foo(...).
|
Expr |
ExprFactory.createThisMethod(Location loc,
ThisExpr qThis,
StringValue methodName,
java.util.ArrayList<Expr> args)
Creates a $this method call $this->foo(...).
|
Expr |
ExprFactory.createTraitParentClassMethodCall(Location loc,
java.lang.String traitName,
StringValue methodName,
java.util.ArrayList<Expr> args)
Creates a parent class method call parent::foo(...)
|
CallVarExpr |
ExprFactory.createVarFunction(Location loc,
Expr name,
java.util.ArrayList<Expr> args)
Creates a new var function call.
|
ObjectNewVarExpr |
ExprFactory.createVarNew(Location loc,
Expr name,
java.util.ArrayList<Expr> args)
Creates a new function call.
|
Constructor and Description |
---|
CallExpr(Location location,
StringValue name,
java.util.ArrayList<Expr> args) |
CallVarExpr(Expr name,
java.util.ArrayList<Expr> args) |
CallVarExpr(Location location,
Expr name,
java.util.ArrayList<Expr> args) |
ClassConstructExpr(Location location,
java.lang.String className,
java.util.ArrayList<Expr> args) |
ClassConstructorExpr(Location location,
java.lang.String className,
StringValue nameV,
java.util.ArrayList<Expr> args) |
ClassMethodExpr(Location location,
java.lang.String className,
StringValue methodName,
java.util.ArrayList<Expr> args) |
ClassMethodVarExpr(Location location,
java.lang.String className,
Expr nameExpr,
java.util.ArrayList<Expr> args) |
ClassMethodVarExpr(java.lang.String className,
Expr nameExpr,
java.util.ArrayList<Expr> args) |
ClassVarMethodExpr(Location location,
Expr className,
StringValue methodName,
java.util.ArrayList<Expr> args) |
ClassVarMethodVarExpr(Location location,
Expr className,
Expr methodName,
java.util.ArrayList<Expr> args) |
ClassVirtualMethodExpr(Location location,
StringValue methodName,
java.util.ArrayList<Expr> args) |
ClassVirtualMethodVarExpr(Expr nameExpr,
java.util.ArrayList<Expr> args) |
ClassVirtualMethodVarExpr(Location location,
Expr methodName,
java.util.ArrayList<Expr> args) |
FunArrayExpr(java.util.ArrayList<Expr> keyList,
java.util.ArrayList<Expr> valueList) |
FunArrayExpr(java.util.ArrayList<Expr> keyList,
java.util.ArrayList<Expr> valueList) |
FunArrayExpr(Location location,
java.util.ArrayList<Expr> keyList,
java.util.ArrayList<Expr> valueList) |
FunArrayExpr(Location location,
java.util.ArrayList<Expr> keyList,
java.util.ArrayList<Expr> valueList) |
ListHeadExpr(java.util.ArrayList<Expr> varList) |
ObjectMethodExpr(Location location,
Expr objExpr,
StringValue name,
java.util.ArrayList<Expr> args) |
ObjectMethodVarExpr(Expr objExpr,
Expr name,
java.util.ArrayList<Expr> args) |
ObjectMethodVarExpr(Location location,
Expr objExpr,
Expr name,
java.util.ArrayList<Expr> args) |
ObjectNewExpr(Location location,
java.lang.String name,
java.util.ArrayList<Expr> args) |
ObjectNewExpr(java.lang.String name,
java.util.ArrayList<Expr> args) |
ObjectNewStaticExpr(java.util.ArrayList<Expr> args) |
ObjectNewStaticExpr(Location location,
java.util.ArrayList<Expr> args) |
ObjectNewVarExpr(Expr name,
java.util.ArrayList<Expr> args) |
ObjectNewVarExpr(Location location,
Expr name,
java.util.ArrayList<Expr> args) |
ThisMethodExpr(Location location,
ThisExpr qThis,
StringValue methodName,
java.util.ArrayList<Expr> args) |
ThisMethodVarExpr(Location location,
ThisExpr qThis,
Expr methodName,
java.util.ArrayList<Expr> args) |
TraitParentClassMethodExpr(Location location,
java.lang.String traitName,
StringValue methodName,
java.util.ArrayList<Expr> args) |
Modifier and Type | Method and Description |
---|---|
Expr[] |
CompiledFunction_5.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_1.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunction_0.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunction_4.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_2.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_5.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_4.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunction_1.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_0.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunction_N.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunction_3.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunction_2.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_3.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_N.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Modifier and Type | Method and Description |
---|---|
Expr[] |
CompiledFunction_5.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunction_5.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_1.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_1.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunction_0.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunction_0.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunction_4.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunction_4.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_2.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_2.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_5.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_5.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_4.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_4.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunction_1.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunction_1.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_0.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_0.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunction_N.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunction_N.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunction_3.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunction_3.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunction_2.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunction_2.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_3.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_3.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_N.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
CompiledFunctionRef_N.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Value |
AbstractFunction.callMethod(Env env,
QuercusClass qClass,
Value qThis,
Expr[] exprs)
Evaluates the function.
|
Value |
AbstractFunction.callMethodRef(Env env,
QuercusClass qClass,
Value qThis,
Expr[] exprs)
Evaluates the function.
|
Value[] |
AbstractFunction.evalArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Value[] |
AbstractFunction.evalArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
AbstractFunction |
AbstractFunction.getActualFunction(Expr[] args)
Returns the actual function
|
Constructor and Description |
---|
CompiledClosure_1(java.lang.String name,
Value qThis,
Expr default0) |
CompiledClosure_2(java.lang.String name,
Value qThis,
Expr default0,
Expr default1) |
CompiledClosure_3(java.lang.String name,
Value qThis,
Expr default0,
Expr default1,
Expr default2) |
CompiledClosure_4(java.lang.String name,
Value qThis,
Expr default0,
Expr default1,
Expr default2,
Expr default3) |
CompiledClosure_5(java.lang.String name,
Value qThis,
Expr default0,
Expr default1,
Expr default2,
Expr default3,
Expr default4) |
CompiledClosure_N(java.lang.String name,
Value qThis,
Expr[] defaultArgs) |
Modifier and Type | Method and Description |
---|---|
int |
Marshal.getMarshalingCost(Expr expr) |
int |
RegexpMarshal.getMarshalingCost(Expr expr) |
int |
StringMarshal.getMarshalingCost(Expr expr) |
int |
ClassMarshal.getMarshalingCost(Expr expr) |
int |
URLMarshal.getMarshalingCost(Expr expr) |
int |
StringValueMarshal.getMarshalingCost(Expr expr) |
int |
RegexpArrayMarshal.getMarshalingCost(Expr expr) |
java.lang.Object |
ExpectMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
LongValueMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
EregiMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
NullAsFalseMarshal.marshal(Env env,
Expr expr,
java.lang.Class argClass) |
java.lang.Object |
CharacterMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
UnicodeEregMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
abstract java.lang.Object |
Marshal.marshal(Env env,
Expr expr,
java.lang.Class argClass) |
java.lang.Object |
EnumMarshal.marshal(Env env,
Expr expr,
java.lang.Class argClass) |
java.lang.Object |
ValueMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
ShortObjectMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
RegexpMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
BooleanMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
CallableMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
BooleanObjectMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
ShortMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
StringMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
JavaArrayMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
DoubleMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
ClassMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
BinaryOutputMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
ExtValueMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
LongObjectMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
EregMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
FloatObjectMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
BinaryValueMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
ByteObjectMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
IntegerObjectMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
ReferenceMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
BigIntegerMarshal.marshal(Env env,
Expr expr,
java.lang.Class argClass) |
java.lang.Object |
DoubleValueMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
UnicodeEregiMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
BinaryInputMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
DoubleObjectMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
JavaMarshal.marshal(Env env,
Expr expr,
java.lang.Class argClass) |
java.lang.Object |
ByteMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
CharacterObjectMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
CalendarMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
FloatMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
BigDecimalMarshal.marshal(Env env,
Expr expr,
java.lang.Class argClass) |
java.lang.Object |
URLMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
LongMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
VoidMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
ArrayValueMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
StringValueMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
PathMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
DateMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
IntegerMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
InputStreamMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
UnicodeValueMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
java.lang.Object |
RegexpArrayMarshal.marshal(Env env,
Expr expr,
java.lang.Class expectedClass) |
Modifier and Type | Method and Description |
---|---|
Expr |
QuercusParser.createVar(StringValue name) |
static Expr |
QuercusParser.parse(QuercusContext quercus,
java.lang.String str) |
static Expr |
QuercusParser.parseDefault(ExprFactory factory,
java.lang.String str) |
static Expr |
QuercusParser.parseDefault(java.lang.String str) |
Modifier and Type | Method and Description |
---|---|
void |
ClassScope.addClassField(StringValue name,
Expr value,
FieldVisibility visibility,
java.lang.String comment)
Adds a value
|
void |
Scope.addConstant(java.lang.String name,
Expr value)
Adds a constant.
|
void |
ClassScope.addConstant(StringValue name,
Expr value)
Adds a constant value
|
void |
ClassScope.addStaticClassField(StringValue name,
Expr value,
java.lang.String comment)
Adds a static value
|
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<StringValue,Expr> |
InterpretedClassDef._constMap |
Modifier and Type | Method and Description |
---|---|
Expr[] |
MethodDeclaration.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr |
InterpretedClassDef.findConstant(java.lang.String name)
Return a const value.
|
Expr |
ClassDef.findConstant(java.lang.String name)
Finds the matching constant
|
Expr |
Arg.getDefault()
Returns the default expression
|
Expr |
ClassField.getInitExpr() |
Expr |
ClassDef.FieldEntry.getValue() |
Expr |
ClassDef.StaticFieldEntry.getValue() |
Modifier and Type | Method and Description |
---|---|
void |
InterpretedClassDef.addClassField(StringValue name,
Expr value,
FieldVisibility visibility,
java.lang.String comment)
Adds a value.
|
void |
InterpretedClassDef.addConstant(StringValue name,
Expr value)
Adds a const value.
|
void |
InterpretedClassDef.addStaticValue(Value name,
Expr value)
Adds a static value.
|
void |
InterpretedClassDef.addStaticValue(Value name,
Expr value,
java.lang.String comment)
Adds a static value.
|
Expr[] |
MethodDeclaration.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Expr[] |
MethodDeclaration.bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments.
|
Value |
Function.call(Env env,
Expr[] args) |
Value |
Function.callCopy(Env env,
Expr[] args) |
Value |
ClassDef.callNew(Env env,
Expr[] args)
Creates a new instance.
|
Value |
Function.callRef(Env env,
Expr[] args) |
Value[] |
Function.evalArguments(Env env,
Expr fun,
Expr[] args)
Evaluates a function's argument, handling ref vs non-ref
|
Value[] |
Function.evalArguments(Env env,
Expr fun,
Expr[] args)
Evaluates a function's argument, handling ref vs non-ref
|
void |
ClassField.setInitExpr(Expr initValue) |
Constructor and Description |
---|
Arg(StringValue name,
Expr defaultExpr,
boolean isReference,
java.lang.String expectedClass) |
ClassField(StringValue name,
java.lang.String declaringClassName,
Expr initValue,
FieldVisibility visibility,
java.lang.String comment,
boolean isTraitField) |
ClassField(StringValue name,
StringValue canonicalName,
java.lang.String declaringClassName,
Expr initValue,
java.lang.String comment,
boolean isTraitField) |
FieldEntry(Expr value,
FieldVisibility visibility) |
FieldEntry(Expr value,
FieldVisibility visibility,
java.lang.String comment) |
StaticFieldEntry(Expr value) |
StaticFieldEntry(Expr value,
java.lang.String comment) |
Modifier and Type | Field and Description |
---|---|
protected Expr[][] |
SwitchStatement._cases |
protected Expr |
ReturnStatement._expr |
protected Expr |
EchoStatement._expr |
protected Expr |
ThrowStatement._expr |
protected Expr |
ReturnRefStatement._expr |
protected Expr |
ForStatement._incr |
protected Expr |
ForStatement._init |
protected Expr |
ClassStaticStatement._initValue |
protected Expr |
StaticStatement._initValue |
protected Expr |
ClosureStaticStatement._initValue |
protected Expr |
ForeachStatement._objExpr |
protected Expr |
BreakStatement._target |
protected Expr |
ContinueStatement._target |
protected Expr |
DoStatement._test |
protected Expr |
ForStatement._test |
protected Expr |
WhileStatement._test |
protected Expr |
SwitchStatement._value |
protected Expr |
VarGlobalStatement._varExpr |
Modifier and Type | Method and Description |
---|---|
Expr |
ExprStatement.getExpr()
Returns the expression.
|
protected Expr |
IfStatement.getTest() |
Constructor and Description |
---|
BreakStatement(Location location,
Expr target,
java.util.ArrayList<java.lang.String> loopLabelList) |
ClassStaticStatement(Location location,
StringValue staticName,
VarExpr var,
Expr initValue)
Creates the echo statement.
|
ClosureStaticStatement(Location location,
VarExpr var,
Expr initValue)
Creates the echo statement.
|
ContinueStatement(Location location,
Expr target,
java.util.ArrayList<java.lang.String> loopLabelList) |
DoStatement(Location location,
Expr test,
Statement block,
java.lang.String label) |
EchoStatement(Location location,
Expr expr)
Creates the echo statement.
|
ExprStatement(Location location,
Expr expr)
Creates the expression statement.
|
ForeachStatement(Location location,
Expr objExpr,
AbstractVarExpr key,
AbstractVarExpr value,
boolean isRef,
Statement block,
java.lang.String label) |
ForStatement(Location location,
Expr init,
Expr test,
Expr incr,
Statement block,
java.lang.String label) |
IfStatement(Location location,
Expr test,
Statement trueBlock,
Statement falseBlock) |
ReturnRefStatement(Location location,
Expr expr)
Creates the echo statement.
|
ReturnStatement(Expr expr)
Creates the echo statement.
|
ReturnStatement(Location location,
Expr expr)
Creates the echo statement.
|
StaticStatement(Location location,
StringValue uniqueStaticName,
VarExpr var,
Expr initValue)
Creates the echo statement.
|
SwitchStatement(Location location,
Expr value,
java.util.ArrayList<Expr[]> caseList,
java.util.ArrayList<BlockStatement> blockList,
Statement defaultBlock,
java.lang.String label) |
ThrowStatement(Location location,
Expr expr)
Creates the echo statement.
|
WhileStatement(Location location,
Expr test,
Statement block,
java.lang.String label) |