public abstract class AbstractUnit extends AbstractStatementBlock implements Unit, Comparable<AbstractUnit>
| Constructor and Description |
|---|
AbstractUnit(String name,
StatementBlock parent,
ParserErrorsImpl errors,
org.jamon.api.Location location) |
addStatement, doesIO, getLocation, getParent, getStatements, printStatementsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddStatement, getParentpublic AbstractUnit(String name, StatementBlock parent, ParserErrorsImpl errors, org.jamon.api.Location location)
public final Unit getParentUnit()
getParentUnit in interface StatementBlockgetParentUnit in class AbstractStatementBlockprotected final ParserErrorsImpl getErrors()
public int compareTo(AbstractUnit o)
compareTo in interface Comparable<AbstractUnit>protected abstract void addFragmentArg(FragmentArgument arg)
public abstract List<FragmentArgument> getFragmentArgs()
getFragmentArgs in interface Unitpublic FragmentUnit getFragmentUnitIntf(String path)
getFragmentUnitIntf in interface StatementBlockgetFragmentUnitIntf in class AbstractStatementBlockpublic void generateRenderBody(CodeWriter writer, TemplateDescriber describer) throws ParserErrorImpl
generateRenderBody in interface UnitParserErrorImplpublic abstract void addRequiredArg(RequiredArgument arg)
public abstract void addOptionalArg(OptionalArgument arg)
public abstract List<RequiredArgument> getSignatureRequiredArgs()
getSignatureRequiredArgs in interface Unitpublic abstract Collection<OptionalArgument> getSignatureOptionalArgs()
getSignatureOptionalArgs in interface Unitpublic abstract Collection<AbstractArgument> getVisibleArgs()
public FragmentUnit addFragment(FragmentArgsNode node, GenericParams genericParams)
addFragment in interface StatementBlockaddFragment in class AbstractStatementBlockpublic void addRequiredArg(ArgNode node)
addRequiredArg in interface StatementBlockaddRequiredArg in class AbstractStatementBlockpublic void addOptionalArg(OptionalArgNode node)
addOptionalArg in interface StatementBlockaddOptionalArg in class AbstractStatementBlockprotected void addArgName(AbstractArgument arg)
public List<AbstractArgument> getRenderArgs()
public void printRenderArgsDecl(CodeWriter writer)
printRenderArgsDecl in interface Unitpublic void printRenderArgs(CodeWriter writer)
protected static void printArgsDecl(CodeWriter writer, Iterable<? extends AbstractArgument> i)
protected static void printArgs(CodeWriter writer, Iterable<? extends AbstractArgument> args)
protected void generateInterfaceSummary(StringBuilder buf)
Copyright © 2003–2015 Jamon developers. All rights reserved.