|
||||||||||
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.StatementBaseNoFinal
railo.transformer.bytecode.BodyBase
public class BodyBase
Base Body implementation
Constructor Summary | |
---|---|
BodyBase()
Constructor of the class |
Method Summary | |
---|---|
void |
_writeOut(BytecodeContext bc)
write out the stament to the adater |
void |
addFirst(Statement statement)
adds a statement to the Page |
void |
addPrintOut(String str,
Position start,
Position end)
|
void |
addStatement(Statement statement)
|
List<Statement> |
getStatements()
|
boolean |
hasStatements()
returns all statements |
boolean |
isEmpty()
returns if body has content or not |
void |
moveStatmentsTo(Body trg)
move all statements to target body |
void |
remove(Statement statement)
|
static void |
writeOut(BytecodeContext statConstr,
BytecodeContext constr,
List<LitString> keys,
List<Statement> statements,
BytecodeContext bc)
|
static void |
writeOut2(BytecodeContext statConstr,
BytecodeContext constr,
List<LitString> keys,
List<Statement> statements,
BytecodeContext bc)
|
Methods inherited from class railo.transformer.bytecode.statement.StatementBaseNoFinal |
---|
getFlowControlFinal |
Methods inherited from class railo.transformer.bytecode.statement.StatementBase |
---|
getDescendantCount, getEnd, getParent, getStart, hasFlowController, setEnd, setHasFlowController, setParent, setStart, writeOut |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface railo.transformer.bytecode.Statement |
---|
getEnd, getFlowControlFinal, getParent, getStart, hasFlowController, setEnd, setHasFlowController, setParent, setStart, writeOut |
Constructor Detail |
---|
public BodyBase()
Method Detail |
---|
public void addStatement(Statement statement)
addStatement
in interface Body
Body.addStatement(railo.transformer.bytecode.Statement)
public void addFirst(Statement statement)
Body
addFirst
in interface Body
public void remove(Statement statement)
remove
in interface Body
public List<Statement> getStatements()
getStatements
in interface Body
Body.getStatements()
public boolean hasStatements()
Body
hasStatements
in interface Body
public void moveStatmentsTo(Body trg)
Body
moveStatmentsTo
in interface Body
Body.moveStatmentsTo(railo.transformer.bytecode.Body)
public void addPrintOut(String str, Position start, Position end)
addPrintOut
in interface Body
public void _writeOut(BytecodeContext bc) throws BytecodeException
StatementBase
_writeOut
in class StatementBase
BytecodeException
public static void writeOut2(BytecodeContext statConstr, BytecodeContext constr, List<LitString> keys, List<Statement> statements, BytecodeContext bc) throws BytecodeException
BytecodeException
public static void writeOut(BytecodeContext statConstr, BytecodeContext constr, List<LitString> keys, List<Statement> statements, BytecodeContext bc) throws BytecodeException
BytecodeException
public boolean isEmpty()
Body
isEmpty
in interface Body
Body.isEmpty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |