public abstract class AbstractStatementBlock extends Object implements StatementBlock
| Constructor and Description |
|---|
AbstractStatementBlock(StatementBlock parent,
org.jamon.api.Location location) |
| Modifier and Type | Method and Description |
|---|---|
FragmentUnit |
addFragment(FragmentArgsNode node,
GenericParams genericParams) |
void |
addOptionalArg(OptionalArgNode node) |
void |
addRequiredArg(ArgNode node) |
void |
addStatement(Statement statement) |
boolean |
doesIO() |
FragmentUnit |
getFragmentUnitIntf(String path) |
org.jamon.api.Location |
getLocation() |
StatementBlock |
getParent() |
Unit |
getParentUnit() |
List<Statement> |
getStatements() |
protected void |
printStatements(CodeWriter writer,
TemplateDescriber describer) |
public AbstractStatementBlock(StatementBlock parent, org.jamon.api.Location location)
protected void printStatements(CodeWriter writer, TemplateDescriber describer) throws ParserErrorImpl
ParserErrorImplpublic FragmentUnit getFragmentUnitIntf(String path)
getFragmentUnitIntf in interface StatementBlockpublic void addStatement(Statement statement)
addStatement in interface StatementBlockpublic boolean doesIO()
public FragmentUnit addFragment(FragmentArgsNode node, GenericParams genericParams)
addFragment in interface StatementBlockpublic void addRequiredArg(ArgNode node)
addRequiredArg in interface StatementBlockpublic void addOptionalArg(OptionalArgNode node)
addOptionalArg in interface StatementBlockpublic Unit getParentUnit()
getParentUnit in interface StatementBlockpublic StatementBlock getParent()
getParent in interface StatementBlockpublic org.jamon.api.Location getLocation()
Copyright © 2003–2015 Jamon developers. All rights reserved.