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
ParserErrorImpl
public FragmentUnit getFragmentUnitIntf(String path)
getFragmentUnitIntf
in interface StatementBlock
public void addStatement(Statement statement)
addStatement
in interface StatementBlock
public boolean doesIO()
public FragmentUnit addFragment(FragmentArgsNode node, GenericParams genericParams)
addFragment
in interface StatementBlock
public void addRequiredArg(ArgNode node)
addRequiredArg
in interface StatementBlock
public void addOptionalArg(OptionalArgNode node)
addOptionalArg
in interface StatementBlock
public Unit getParentUnit()
getParentUnit
in interface StatementBlock
public StatementBlock getParent()
getParent
in interface StatementBlock
public org.jamon.api.Location getLocation()
Copyright © 2003–2016 Jamon developers. All rights reserved.