Package | Description |
---|---|
com.caucho.quercus.expr | |
com.caucho.quercus.program | |
com.caucho.quercus.statement |
Modifier and Type | Method and Description |
---|---|
Statement |
ExprFactory.createBlock(Location loc,
java.util.ArrayList<Statement> statementList) |
Statement |
ExprFactory.createBlock(Location loc,
Statement[] statementList) |
Statement |
ExprFactory.createClassDef(Location loc,
InterpretedClassDef cl)
Creates a new function def statement
|
Statement |
ExprFactory.createClassStatic(Location loc,
StringValue staticName,
VarExpr var,
Expr value)
Creates a static statement
|
Statement |
ExprFactory.createClosureStatic(Location loc,
VarExpr var,
Expr value)
Creates a static statement that is within a closure scope
|
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
|
Statement |
ExprFactory.createExpr(Location loc,
Expr expr)
Creates an expr statement
|
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
|
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
|
Statement |
ExprFactory.createNullStatement()
Creates a null literal expression.
|
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
|
Statement |
ExprFactory.createThrow(Location loc,
Expr value)
Creates a throw statement
|
Statement |
Expr.createUnset(ExprFactory factory,
Location location)
Creates a assignment
|
Statement |
AbstractVarExpr.createUnset(ExprFactory factory,
Location location)
Creates the assignment.
|
Statement |
ExprFactory.createVarGlobal(Location loc,
VarVarExpr var)
Creates a global var statement
|
Statement |
ExprFactory.createWhile(Location loc,
Expr test,
Statement block,
java.lang.String label)
Creates a while statement
|
Modifier and Type | Method and Description |
---|---|
Statement |
ExprFactory.createBlock(Location loc,
Statement[] statementList) |
BlockStatement |
ExprFactory.createBlockImpl(Location loc,
Statement[] statements)
Creates an expr statement
|
Statement |
ExprFactory.createDo(Location loc,
Expr test,
Statement block,
java.lang.String label)
Creates a do-while statement
|
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.createIf(Location loc,
Expr test,
Statement trueBlock,
Statement falseBlock)
Creates an if statement
|
Function |
ExprFactory.createObjectMethod(Location loc,
InterpretedClassDef cl,
java.lang.String name,
FunctionInfo info,
Arg[] argList,
Statement[] statementList)
Creates a new object method definition.
|
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
|
TryStatement |
ExprFactory.createTry(Location loc,
Statement block)
Creates a try statement
|
Statement |
ExprFactory.createWhile(Location loc,
Expr test,
Statement block,
java.lang.String label)
Creates a while statement
|
Modifier and Type | Method and Description |
---|---|
Statement |
ExprFactory.createBlock(Location loc,
java.util.ArrayList<Statement> statementList) |
BlockStatement |
ExprFactory.createBlockImpl(Location loc,
java.util.ArrayList<Statement> statementList)
Creates an expr statement
|
Modifier and Type | Field and Description |
---|---|
protected Statement |
Function._statement |
Modifier and Type | Method and Description |
---|---|
Statement |
QuercusProgram.getStatement() |
Constructor and Description |
---|
Function(ExprFactory exprFactory,
Location location,
java.lang.String name,
FunctionInfo info,
Arg[] args,
Statement[] statements) |
ObjectMethod(ExprFactory exprFactory,
Location location,
InterpretedClassDef quercusClass,
java.lang.String name,
FunctionInfo info,
Arg[] argList,
Statement[] statementList) |
QuercusProgram(QuercusContext quercus,
Path sourceFile,
java.util.HashMap<StringValue,Function> functionMap,
java.util.ArrayList<Function> functionList,
java.util.HashMap<java.lang.String,InterpretedClassDef> classMap,
java.util.ArrayList<InterpretedClassDef> classList,
FunctionInfo functionInfo,
Statement statement)
Creates a new quercus program
|
Modifier and Type | Class and Description |
---|---|
class |
BlockStatement
Represents sequence of statements.
|
class |
BreakStatement
Represents a break expression statement in a PHP program.
|
class |
ClassDefStatement
Represents a class definition
|
class |
ClassStaticStatement
Represents a static statement in a PHP program.
|
class |
ClosureStaticStatement
Represents a static statement in a PHP program.
|
class |
ContinueStatement
Represents a continue expression statement in a PHP program.
|
class |
DoStatement
Represents a do ...
|
class |
EchoStatement
Represents an echo statement in a PHP program.
|
class |
ExprStatement
Represents an expression statement in a PHP program.
|
class |
ForeachStatement
Represents a foreach statement.
|
class |
ForStatement
Represents a for statement.
|
class |
FunctionDefStatement
Represents a function definition
|
class |
GlobalStatement
Represents a global statement in a PHP program.
|
class |
IfStatement
Represents an if statement.
|
class |
NullStatement
Represents a compiled PHP program.
|
class |
ReturnRefStatement
Represents a return expression statement in a PHP program.
|
class |
ReturnStatement
Represents a return expression statement in a PHP program.
|
class |
StaticStatement
Represents a static statement in a PHP program.
|
class |
SwitchStatement
Represents a switch statement.
|
class |
TextStatement
Represents static text in a PHP program.
|
class |
ThrowStatement
Represents a throw expression statement in a Quercus program.
|
class |
TryStatement
Represents sequence of statements.
|
class |
VarGlobalStatement
Represents a global statement in a PHP program.
|
class |
WhileStatement
Represents a while statement.
|
Modifier and Type | Field and Description |
---|---|
protected Statement |
TryStatement._block |
protected Statement |
DoStatement._block |
protected Statement |
ForStatement._block |
protected Statement |
WhileStatement._block |
protected Statement |
ForeachStatement._block |
protected Statement |
SwitchStatement._defaultBlock |
protected Statement[] |
BlockStatement._statements |
Modifier and Type | Method and Description |
---|---|
Statement |
TryStatement.Catch.getBlock() |
protected Statement |
IfStatement.getFalseBlock() |
Statement |
Statement.getParent() |
Statement |
StatementHandle.getStatement()
Gets the statement.
|
Statement[] |
BlockStatement.getStatements() |
protected Statement |
IfStatement.getTrueBlock() |
Modifier and Type | Method and Description |
---|---|
void |
TryStatement.addCatch(StringValue id,
AbstractVarExpr lhs,
Statement block) |
void |
Statement.setParent(Statement parent) |
void |
StatementHandle.setStatement(Statement statement)
Sets the statement.
|
Modifier and Type | Method and Description |
---|---|
BlockStatement |
BlockStatement.append(java.util.ArrayList<Statement> statementList) |
Constructor and Description |
---|
BlockStatement(Location location,
Statement[] statements) |
DoStatement(Location location,
Expr test,
Statement block,
java.lang.String label) |
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) |
SwitchStatement(Location location,
Expr value,
java.util.ArrayList<Expr[]> caseList,
java.util.ArrayList<BlockStatement> blockList,
Statement defaultBlock,
java.lang.String label) |
TryStatement(Location location,
Statement block) |
WhileStatement(Location location,
Expr test,
Statement block,
java.lang.String label) |
Constructor and Description |
---|
BlockStatement(Location location,
java.util.ArrayList<Statement> statementList) |