|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.transformer.bytecode.statement.StatementBase
railo.transformer.bytecode.statement.Condition
public final class Condition
Nested Class Summary | |
---|---|
class |
Condition.Pair
|
Constructor Summary | |
---|---|
Condition(boolean b,
Statement body,
int line)
|
|
Condition(ExprBoolean condition,
Statement body,
int line)
Constructor of the class |
|
Condition(int line)
Constructor of the class |
Method Summary | |
---|---|
void |
_writeOut(BytecodeContext bc)
write out the stament to the adater |
void |
addElseIf(ExprBoolean condition,
Statement body,
int line)
adds a else statment |
Body[] |
getBodies()
|
void |
setElse(Statement body,
int line)
sets the else Block of the condition |
Methods inherited from class railo.transformer.bytecode.statement.StatementBase |
---|
getDescendantCount, getEndLine, getLine, getParent, getStartLine, hasFlowController, setEndLine, setHasFlowController, setLine, setParent, setStartLine, writeOut |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Condition(int line)
condition
- body
- line
- public Condition(ExprBoolean condition, Statement body, int line)
condition
- body
- line
- public Condition(boolean b, Statement body, int line)
Method Detail |
---|
public void addElseIf(ExprBoolean condition, Statement body, int line)
condition
- body
- public void setElse(Statement body, int line)
body
- public void _writeOut(BytecodeContext bc) throws BytecodeException
StatementBase
_writeOut
in class StatementBase
BytecodeException
public Body[] getBodies()
getBodies
in interface HasBodies
HasBodies.getBodies()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |