|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Statement | |
---|---|
com.caucho.quercus.expr | |
com.caucho.quercus.program | |
com.caucho.quercus.statement |
Uses of Statement in com.caucho.quercus.expr |
---|
Methods in com.caucho.quercus.expr that return Statement | |
---|---|
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,
java.lang.String className,
VarExpr var,
Expr value)
Creates a static statement inside a class |
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,
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,
java.lang.String text)
Creates a text statement |
Statement |
ExprFactory.createThrow(Location loc,
Expr value)
Creates a throw statement |
Statement |
AbstractVarExpr.createUnset(ExprFactory factory,
Location location)
Creates the assignment. |
Statement |
Expr.createUnset(ExprFactory factory,
Location location)
Creates a 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 |
Methods in com.caucho.quercus.expr with parameters of type Statement | |
---|---|
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 |
Method parameters in com.caucho.quercus.expr with type arguments of type Statement | |
---|---|
Statement |
ExprFactory.createBlock(Location loc,
java.util.ArrayList<Statement> statementList)
|
BlockStatement |
ExprFactory.createBlockImpl(Location loc,
java.util.ArrayList<Statement> statementList)
Creates an expr statement |
Uses of Statement in com.caucho.quercus.program |
---|
Fields in com.caucho.quercus.program declared as Statement | |
---|---|
protected Statement |
Function._statement
|
Methods in com.caucho.quercus.program that return Statement | |
---|---|
Statement |
QuercusProgram.getStatement()
|
Constructors in com.caucho.quercus.program with parameters of type Statement | |
---|---|
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<java.lang.String,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 |
Uses of Statement in com.caucho.quercus.statement |
---|
Subclasses of Statement in com.caucho.quercus.statement | |
---|---|
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 |
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. |
Fields in com.caucho.quercus.statement declared as Statement | |
---|---|
protected Statement |
DoStatement._block
|
protected Statement |
ForStatement._block
|
protected Statement |
ForeachStatement._block
|
protected Statement |
TryStatement._block
|
protected Statement |
WhileStatement._block
|
protected Statement |
SwitchStatement._defaultBlock
|
protected Statement[] |
BlockStatement._statements
|
Methods in com.caucho.quercus.statement that return Statement | |
---|---|
Statement |
TryStatement.Catch.getBlock()
|
protected Statement |
IfStatement.getFalseBlock()
|
Statement |
Statement.getParent()
|
Statement |
StatementHandle.getStatement()
Gets the statement. |
Statement[] |
BlockStatement.getStatements()
|
protected Statement |
IfStatement.getTrueBlock()
|
Methods in com.caucho.quercus.statement with parameters of type Statement | |
---|---|
void |
TryStatement.addCatch(java.lang.String id,
AbstractVarExpr lhs,
Statement block)
|
void |
Statement.setParent(Statement parent)
|
void |
StatementHandle.setStatement(Statement statement)
Sets the statement. |
Method parameters in com.caucho.quercus.statement with type arguments of type Statement | |
---|---|
BlockStatement |
BlockStatement.append(java.util.ArrayList<Statement> statementList)
|
Constructors in com.caucho.quercus.statement with parameters of type Statement | |
---|---|
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 parameters in com.caucho.quercus.statement with type arguments of type Statement | |
---|---|
BlockStatement(Location location,
java.util.ArrayList<Statement> statementList)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |