|
||||||||||
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.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,
int line)
|
void |
addStatement(Statement statement)
|
List |
getStatements()
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 keys,
List<Statement> statements,
BytecodeContext bc)
|
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 |
Methods inherited from interface railo.transformer.bytecode.Statement |
---|
getLine, getParent, hasFlowController, setHasFlowController, setParent, 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 getStatements()
Body
getStatements
in interface Body
Body.getStatements()
public void moveStatmentsTo(Body trg)
Body
moveStatmentsTo
in interface Body
Body.moveStatmentsTo(railo.transformer.bytecode.Body)
public void addPrintOut(String str, int line)
addPrintOut
in interface Body
public void _writeOut(BytecodeContext bc) throws BytecodeException
StatementBase
_writeOut
in class StatementBase
BytecodeException
public static void writeOut(BytecodeContext statConstr, BytecodeContext constr, List 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 |