Modifier and Type | Field and Description |
---|---|
static Location |
Location.UNKNOWN |
Modifier and Type | Method and Description |
---|---|
Location |
Env.getLocation()
Returns the current execution location.
|
Location |
QuercusLanguageException.getLocation(Env env)
Returns the location of this PHP exception.
|
protected Location |
Env.getLocationImpl() |
Location |
Env.setLocation(Location newLocation) |
Modifier and Type | Method and Description |
---|---|
QuercusRuntimeException |
Env.createErrorException(Location location,
java.lang.String msg)
A fatal runtime error.
|
Value |
Env.error(int code,
java.lang.String msg,
Location location)
Writes an error.
|
Value |
Env.error(java.lang.String msg,
Location location)
A fatal runtime error.
|
java.lang.String |
Env.getStackTraceAsString(ArrayValue value,
Location location) |
java.lang.String |
Env.getStackTraceAsString(Location loc) |
java.lang.String |
Env.getStackTraceAsString(java.lang.Throwable e,
Location loc) |
Location |
Env.setLocation(Location newLocation) |
Value |
Env.thisError(Location location)
Error when using $this not inside an object context.
|
Value |
Env.warning(java.lang.String msg,
Location location)
A runtime warning.
|
Value |
Env.warning(java.lang.String msg,
Location location,
java.lang.Throwable e)
A warning with an exception.
|
Value |
Env.warning(java.lang.Throwable e,
Location location)
A warning with an exception.
|
Constructor and Description |
---|
CompiledAbstractClassDef(Location location,
java.lang.String name,
java.lang.String parent,
java.lang.String[] ifaceList,
java.lang.String[] traitList) |
CompiledClassDef(Location location,
java.lang.String name,
java.lang.String parent,
java.lang.String[] ifaceList) |
CompiledClassDef(Location location,
java.lang.String name,
java.lang.String parent,
java.lang.String[] ifaceList,
boolean isFinal) |
CompiledClassDef(Location location,
java.lang.String name,
java.lang.String parent,
java.lang.String[] ifaceList,
java.lang.String[] traitList) |
CompiledClassDef(Location location,
java.lang.String name,
java.lang.String parent,
java.lang.String[] ifaceList,
java.lang.String[] traitList,
boolean isFinal) |
CompiledInterfaceDef(Location location,
java.lang.String name,
java.lang.String parent,
java.lang.String[] ifaceList) |
Modifier and Type | Method and Description |
---|---|
Location |
Expr.getLocation()
Returns the location.
|
Modifier and Type | Method and Description |
---|---|
Expr |
VarExpr.copy(Location location)
Copy for things like $a .= "test";
|
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.
|
Statement |
ExprFactory.createBlock(Location loc,
java.util.ArrayList<Statement> statementList) |
Statement |
ExprFactory.createBlock(Location loc,
Statement[] statementList) |
BlockStatement |
ExprFactory.createBlockImpl(Location loc,
java.util.ArrayList<Statement> statementList)
Creates an expr statement
|
BlockStatement |
ExprFactory.createBlockImpl(Location loc,
Statement[] statements)
Creates an expr statement
|
BreakStatement |
ExprFactory.createBreak(Location location,
Expr target,
java.util.ArrayList<java.lang.String> loopLabelList)
Creates a break statement
|
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.createClassConstructor(Location loc,
java.lang.String className,
StringValue methodName,
java.util.ArrayList<Expr> args)
Creates a class method call A::foo(...)
|
Statement |
ExprFactory.createClassDef(Location loc,
InterpretedClassDef cl)
Creates a new function def statement
|
InterpretedClassDef |
ExprFactory.createClassDef(Location location,
java.lang.String name,
java.lang.String parentName,
java.lang.String[] ifaceList,
int index) |
ConstClassExpr |
ExprFactory.createClassExpr(Location location,
StringValue funName)
Creates a __CLASS__ expression (for traits).
|
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(...)
|
Statement |
ExprFactory.createClassStatic(Location loc,
StringValue staticName,
VarExpr var,
Expr value)
Creates a static statement
|
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.
|
ClosureExpr |
ExprFactory.createClosure(Location loc,
Function fun,
java.util.ArrayList<VarExpr> useArgs,
boolean isInClassScope)
Creates a new closure.
|
Statement |
ExprFactory.createClosureStatic(Location loc,
VarExpr var,
Expr value)
Creates a static statement that is within a closure scope
|
ContinueStatement |
ExprFactory.createContinue(Location location,
Expr target,
java.util.ArrayList<java.lang.String> loopLabelList)
Creates a continue statement
|
Statement |
ExprFactory.createDo(Location loc,
Expr test,
Statement block,
java.lang.String label)
Creates a do-while statement
|
Statement |
ExprFactory.createEcho(Location loc,
Expr expr)
Creates an echo statement
|
Expr |
ExprFactory.createEmpty(Location location,
Expr expr)
Creates an empty() 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 |
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
|
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
|
Function |
ExprFactory.createFunction(Location loc,
java.lang.String name,
FunctionInfo info,
Arg[] argList,
Statement[] statementList)
Creates a new function definition.
|
Statement |
ExprFactory.createFunctionDef(Location loc,
Function fun)
Creates a new function definition def.
|
Statement |
ExprFactory.createGlobal(Location loc,
VarExpr var)
Creates a global statement
|
Statement |
ExprFactory.createIf(Location loc,
Expr test,
Statement trueBlock,
Statement falseBlock)
Creates an if statement
|
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.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(...).
|
Function |
ExprFactory.createMethodDeclaration(Location loc,
InterpretedClassDef cl,
java.lang.String name,
FunctionInfo info,
Arg[] argList)
Creates a new object method definition.
|
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(...).
|
Function |
ExprFactory.createObjectMethod(Location loc,
InterpretedClassDef cl,
java.lang.String name,
FunctionInfo info,
Arg[] argList,
Statement[] statementList)
Creates a new object method definition.
|
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
|
Statement |
ExprFactory.createStatic(Location loc,
StringValue uniqueStaticName,
VarExpr var,
Expr value)
Creates a static statement
|
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
|
Statement |
ExprFactory.createText(Location loc,
StringValue text)
Creates a text statement
|
ThisFieldVarExpr |
ExprFactory.createThisField(Location location,
ThisExpr qThis,
Expr name)
Creates a "$this->$foo" expression.
|
ThisFieldExpr |
ExprFactory.createThisField(Location location,
ThisExpr qThis,
StringValue 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(...).
|
Expr |
ExprFactory.createThisMethod(Location loc,
ThisExpr qThis,
StringValue 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.createTraitParentClassMethodCall(Location loc,
java.lang.String traitName,
StringValue methodName,
java.util.ArrayList<Expr> args)
Creates a parent class method call parent::foo(...)
|
TryStatement |
ExprFactory.createTry(Location loc,
Statement block)
Creates a try statement
|
Statement |
Expr.createUnset(ExprFactory factory,
Location location)
Creates a assignment
|
Statement |
AbstractVarExpr.createUnset(ExprFactory factory,
Location location)
Creates the assignment.
|
CallVarExpr |
ExprFactory.createVarFunction(Location loc,
Expr name,
java.util.ArrayList<Expr> args)
Creates a new var function call.
|
Statement |
ExprFactory.createVarGlobal(Location loc,
VarVarExpr var)
Creates a global var statement
|
ObjectNewVarExpr |
ExprFactory.createVarNew(Location loc,
Expr name,
java.util.ArrayList<Expr> args)
Creates a new function call.
|
Statement |
ExprFactory.createWhile(Location loc,
Expr test,
Statement block,
java.lang.String label)
Creates a while statement
|
Constructor and Description |
---|
AbstractBinaryExpr(Location location,
Expr left,
Expr right) |
AbstractLongValuedExpr(Location location) |
AbstractMethodExpr(Location location) |
AbstractUnaryExpr(Location location,
Expr expr) |
AbstractVarExpr(Location location) |
ArrayGetExpr(Location location,
Expr expr,
Expr index) |
ArrayIsSetExpr(Location location,
Expr expr,
Expr index) |
ArrayTailExpr(Location location,
Expr expr) |
ArrayUnsetExpr(Location location,
Expr expr,
Expr index) |
BinaryAddExpr(Location location,
Expr left,
Expr right) |
BinaryAndExpr(Location location,
Expr left,
Expr right) |
BinaryAssignExpr(Location location,
AbstractVarExpr var,
Expr value) |
BinaryAssignRefExpr(Location location,
AbstractVarExpr var,
Expr value) |
BinaryBitAndExpr(Location location,
Expr left,
Expr right) |
BinaryBitOrExpr(Location location,
Expr left,
Expr right) |
BinaryBitXorExpr(Location location,
Expr left,
Expr right) |
BinaryCharAtExpr(Location location,
Expr objExpr,
Expr indexExpr) |
BinaryCommaExpr(Location location,
Expr left,
Expr right) |
BinaryDivExpr(Location location,
Expr left,
Expr right) |
BinaryEqExpr(Location location,
Expr left,
Expr right) |
BinaryEqualsExpr(Location location,
Expr left,
Expr right) |
BinaryGeqExpr(Location location,
Expr left,
Expr right) |
BinaryGtExpr(Location location,
Expr left,
Expr right) |
BinaryInstanceOfExpr(Location location,
Expr left,
java.lang.String right) |
BinaryInstanceOfVarExpr(Location location,
Expr left,
Expr right) |
BinaryLeftShiftExpr(Location location,
Expr left,
Expr right) |
BinaryLeqExpr(Location location,
Expr left,
Expr right) |
BinaryLtExpr(Location location,
Expr left,
Expr right) |
BinaryModExpr(Location location,
Expr left,
Expr right) |
BinaryMulExpr(Location location,
Expr left,
Expr right) |
BinaryNeqExpr(Location location,
Expr left,
Expr right) |
BinaryOrExpr(Location location,
Expr left,
Expr right) |
BinaryRightShiftExpr(Location location,
Expr left,
Expr right) |
BinarySubExpr(Location location,
Expr left,
Expr right) |
BinaryXorExpr(Location location,
Expr left,
Expr right) |
CallExpr(Location location,
StringValue name,
java.util.ArrayList<Expr> args) |
CallExpr(Location location,
StringValue name,
Expr[] args) |
CallVarExpr(Location location,
Expr name,
java.util.ArrayList<Expr> args) |
CallVarExpr(Location location,
Expr name,
Expr[] args) |
ClassConstExpr(Location location,
java.lang.String className,
StringValue name) |
ClassConstructExpr(Location location,
java.lang.String className,
java.util.ArrayList<Expr> args) |
ClassConstructExpr(Location location,
java.lang.String className,
Expr[] args) |
ClassConstructorExpr(Location location,
java.lang.String className,
StringValue nameV,
java.util.ArrayList<Expr> args) |
ClassConstructorExpr(Location location,
java.lang.String className,
StringValue nameV,
Expr[] args) |
ClassMethodExpr(Location location,
java.lang.String className,
StringValue methodName,
java.util.ArrayList<Expr> args) |
ClassMethodExpr(Location location,
java.lang.String className,
StringValue methodName,
Expr[] args) |
ClassMethodVarExpr(Location location,
java.lang.String className,
Expr nameExpr,
java.util.ArrayList<Expr> args) |
ClassMethodVarExpr(Location location,
java.lang.String className,
Expr nameExpr,
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) |
ClassVarNameConstExpr(Location location,
java.lang.String className,
Expr name) |
ClassVarNameVirtualConstExpr(Location location,
Expr name) |
ClassVirtualConstExpr(Location location,
StringValue name) |
ClassVirtualFieldVarExpr(Location location,
Expr varName) |
ClassVirtualMethodExpr(Location location,
StringValue methodName,
java.util.ArrayList<Expr> args) |
ClassVirtualMethodExpr(Location location,
StringValue name,
Expr[] args) |
ClassVirtualMethodVarExpr(Location location,
Expr methodName,
java.util.ArrayList<Expr> args) |
ClassVirtualMethodVarExpr(Location location,
Expr methodName,
Expr[] args) |
ClosureExpr(Location location,
Function fun,
java.util.ArrayList<VarExpr> useArgs,
boolean isInClassScope) |
ConditionalExpr(Location location,
Expr test,
Expr trueExpr,
Expr falseExpr) |
ConstClassExpr(Location location,
StringValue funName) |
ConstDirExpr(Location location,
java.lang.String dirName) |
ConstExpr(Location location,
java.lang.String var) |
ConstFileExpr(Location location,
java.lang.String fileName) |
DieExpr(Location location) |
DieExpr(Location location,
Expr value) |
Expr(Location location) |
FunArrayExpr(Location location,
java.util.ArrayList<Expr> keyList,
java.util.ArrayList<Expr> valueList) |
FunArrayExpr(Location location,
Expr[] keys,
Expr[] values) |
FunCloneExpr(Location location,
Expr expr) |
FunDieExpr(Location location) |
FunDieExpr(Location location,
Expr value) |
FunEachExpr(Location location,
Expr expr) |
FunEmptyExpr(Location location,
Expr value) |
FunExitExpr(Location location) |
FunExitExpr(Location location,
Expr value) |
FunGetCalledClassExpr(Location location) |
FunIncludeExpr(Location location,
Path sourceFile,
Expr expr) |
FunIncludeExpr(Location location,
Path sourceFile,
Expr expr,
boolean isRequire) |
FunIncludeOnceExpr(Location location,
Path sourceFile,
Expr expr) |
FunIncludeOnceExpr(Location location,
Path sourceFile,
Expr expr,
boolean isRequire) |
FunIssetExpr(Location location,
Expr expr) |
ImportExpr(Location location,
java.lang.String name,
boolean isWildcard) |
LiteralLongExpr(Location location,
long value) |
ObjectFieldExpr(Location location,
Expr objExpr,
StringValue name) |
ObjectFieldVarExpr(Location location,
Expr objExpr,
Expr nameExpr) |
ObjectMethodExpr(Location location,
Expr objExpr,
StringValue name,
java.util.ArrayList<Expr> args) |
ObjectMethodVarExpr(Location location,
Expr objExpr,
Expr name,
java.util.ArrayList<Expr> args) |
ObjectMethodVarExpr(Location location,
Expr objExpr,
Expr name,
Expr[] args) |
ObjectNewExpr(Location location,
java.lang.String name,
java.util.ArrayList<Expr> args) |
ObjectNewExpr(Location location,
java.lang.String name,
Expr[] args) |
ObjectNewStaticExpr(Location location,
java.util.ArrayList<Expr> args) |
ObjectNewStaticExpr(Location location,
Expr[] args) |
ObjectNewVarExpr(Location location,
Expr name,
java.util.ArrayList<Expr> args) |
ObjectNewVarExpr(Location location,
Expr name,
Expr[] args) |
ParamDefaultExpr(Location location) |
ParamRequiredExpr(Location location) |
ThisFieldExpr(Location location,
ThisExpr qThis,
StringValue name) |
ThisFieldVarExpr(Location location,
ThisExpr qThis,
Expr nameExpr) |
ThisMethodExpr(Location location,
ThisExpr qThis,
StringValue methodName,
java.util.ArrayList<Expr> args) |
ThisMethodVarExpr(Location location,
ThisExpr qThis,
Expr methodName,
java.util.ArrayList<Expr> args) |
ToArrayExpr(Location location,
Expr expr) |
ToBinaryExpr(Location location,
Expr expr) |
ToBooleanExpr(Location location,
Expr expr) |
ToDoubleExpr(Location location,
Expr expr) |
ToLongExpr(Location location,
Expr expr) |
ToObjectExpr(Location location,
Expr expr) |
ToStringExpr(Location location,
Expr expr) |
ToUnicodeExpr(Location location,
Expr expr) |
TraitParentClassConstExpr(Location location,
java.lang.String traitName,
StringValue name) |
TraitParentClassMethodExpr(Location location,
java.lang.String traitName,
StringValue methodName,
java.util.ArrayList<Expr> args) |
TraitParentClassMethodExpr(Location location,
java.lang.String traitName,
StringValue methodName,
Expr[] args) |
UnaryBitNotExpr(Location location,
Expr expr) |
UnaryCopyExpr(Location location,
Expr expr) |
UnaryMinusExpr(Location location,
Expr expr) |
UnaryNotExpr(Location location,
Expr expr) |
UnaryPlusExpr(Location location,
Expr expr) |
UnaryPostIncrementExpr(Location location,
Expr expr,
int incr) |
UnaryPreIncrementExpr(Location location,
Expr expr,
int incr) |
UnaryRefExpr(Location location,
Expr expr) |
UnarySuppressErrorExpr(Location location,
Expr expr) |
UnaryUnsetExpr(Location location,
AbstractVarExpr var) |
VarExpr(Location location,
VarInfo var) |
VarTempExpr(Location location,
VarInfo var) |
VarUnsetExpr(Location location,
AbstractVarExpr var) |
VarVarExpr(Location location,
Expr var) |
Modifier and Type | Method and Description |
---|---|
Location |
AbstractFunction.getLocation() |
Constructor and Description |
---|
AbstractFunction(Location location) |
Modifier and Type | Method and Description |
---|---|
Location |
PDOException.getLocation(Env env) |
Modifier and Type | Method and Description |
---|---|
Location |
ReflectionException.getLocation(Env env) |
Modifier and Type | Method and Description |
---|---|
Location |
QuercusParser.getLocation()
The location from which the last token was read.
|
Modifier and Type | Method and Description |
---|---|
InterpretedClassDef |
ClassScope.addClass(Location location,
java.lang.String name,
java.lang.String parentName,
java.util.ArrayList<java.lang.String> ifaceList,
int index,
boolean isTop)
Adds a class
|
InterpretedClassDef |
FunctionScope.addClass(Location location,
java.lang.String name,
java.lang.String parentName,
java.util.ArrayList<java.lang.String> ifaceList,
int index,
boolean isTop)
Adds a class
|
InterpretedClassDef |
GlobalScope.addClass(Location location,
java.lang.String name,
java.lang.String parentName,
java.util.ArrayList<java.lang.String> ifaceList,
int index,
boolean isTop)
Adds a class
|
abstract InterpretedClassDef |
Scope.addClass(Location location,
java.lang.String name,
java.lang.String parent,
java.util.ArrayList<java.lang.String> ifaceList,
int index,
boolean isTop)
Adds a class.
|
Modifier and Type | Method and Description |
---|---|
Location |
ClassDef.getLocation()
Returns the location for where the
class was defined, null if it is unknown.
|
Constructor and Description |
---|
ClassDef(Location location,
java.lang.String name,
java.lang.String parentName) |
ClassDef(Location location,
java.lang.String name,
java.lang.String parentName,
java.lang.String[] ifaceList) |
ClassDef(Location location,
java.lang.String name,
java.lang.String parentName,
java.lang.String[] ifaceList,
java.lang.String[] traitList) |
Function(ExprFactory exprFactory,
Location location,
java.lang.String name,
FunctionInfo info,
Arg[] args,
Statement[] statements) |
InterpretedClassDef(Location location,
java.lang.String name,
java.lang.String parentName,
java.lang.String[] ifaceList,
int index) |
InterpretedClassDef(Location location,
java.lang.String name,
java.lang.String parentName,
java.lang.String[] ifaceList,
java.lang.String[] traitList,
int index) |
MethodDeclaration(ExprFactory exprFactory,
Location location,
ClassDef qClass,
java.lang.String name,
FunctionInfo info,
Arg[] argList) |
ObjectMethod(ExprFactory exprFactory,
Location location,
InterpretedClassDef quercusClass,
java.lang.String name,
FunctionInfo info,
Arg[] argList,
Statement[] statementList) |
Modifier and Type | Method and Description |
---|---|
Location |
Statement.getLocation() |
Constructor and Description |
---|
BlockStatement(Location location,
java.util.ArrayList<Statement> statementList) |
BlockStatement(Location location,
Statement[] statements) |
BreakStatement(Location location,
Expr target,
java.util.ArrayList<java.lang.String> loopLabelList) |
ClassDefStatement(Location location,
InterpretedClassDef cl) |
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) |
FunctionDefStatement(Location location,
Function fun) |
GlobalStatement(Location location,
VarExpr var)
Creates the echo statement.
|
IfStatement(Location location,
Expr test,
Statement trueBlock,
Statement falseBlock) |
ReturnRefStatement(Location location,
Expr expr)
Creates the echo statement.
|
ReturnStatement(Location location,
Expr expr)
Creates the echo statement.
|
Statement(Location location) |
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) |
TextStatement(Location location,
StringValue value)
Creates the text statement with its string.
|
ThrowStatement(Location location,
Expr expr)
Creates the echo statement.
|
TryStatement(Location location,
Statement block) |
VarGlobalStatement(Location location,
VarVarExpr var)
Creates the echo statement.
|
WhileStatement(Location location,
Expr test,
Statement block,
java.lang.String label) |