public final class TemplateDelegateNode extends TemplateNode implements SoyNode.ExprHolderNode
Important: Do not use outside of Soy code (treat as superpackage-private).
| Modifier and Type | Class and Description |
|---|---|
static class |
TemplateDelegateNode.DelTemplateKey
Value class for a delegate template key (name and variant).
|
TemplateNode.SoyFileHeaderInfoSoyNode.BlockCommandNode, SoyNode.BlockNode, SoyNode.CommandNode, SoyNode.ConditionalBlockNode, SoyNode.ExprHolderNode, SoyNode.Kind, SoyNode.LocalVarBlockNode, SoyNode.LocalVarInlineNode, SoyNode.LocalVarNode, SoyNode.LoopNode, SoyNode.MsgBlockNode, SoyNode.MsgPlaceholderInitialNode, SoyNode.MsgSubstUnitNode, SoyNode.ParentSoyNode<N extends SoyNode>, SoyNode.RenderUnitNode, SoyNode.SplitLevelTopNode<N extends SoyNode>, SoyNode.StandaloneNode, SoyNode.StatementNodeMAX_PRIORITYSPACES| Modifier and Type | Method and Description |
|---|---|
TemplateDelegateNode |
clone()
Copies this node.
|
List<ExprUnion> |
getAllExprUnions()
Returns the list of expressions in this node.
|
int |
getDelPriority()
Returns the delegate priority.
|
TemplateDelegateNode.DelTemplateKey |
getDelTemplateKey()
Returns the delegate template key (name and variant).
|
String |
getDelTemplateName()
Returns the delegate template name.
|
String |
getDelTemplateVariant()
Returns the delegate template variant.
|
SoyNode.Kind |
getKind()
Returns this node's kind (corresponding to this node's specific type).
|
clearSoyDocStrings, createStackTraceElement, getAllParams, getAutoescapeMode, getContentKind, getCssBaseNamespace, getDelPackageName, getInjectedParams, getMaxLocalVariableTableSize, getParams, getParent, getPartialTemplateName, getRequiredCssNamespaces, getSoyDoc, getSoyDocDesc, getSoyFileHeaderInfo, getTemplateName, getTemplateNameForUserMsgs, getVisibility, setMaxLocalVariableTableSize, toSourceStringaddChild, addChild, addChildren, addChildren, appendSourceStringForChildren, appendTreeStringForChildren, clearChildren, getChild, getChildIndex, getChildren, numChildren, removeChild, removeChild, replaceChild, replaceChild, toTreeStringbuildTagStringHelper, buildTagStringHelper, getCommandName, getCommandText, getTagStringgetId, getSourceLocation, setId, setSourceLocation, toStringcouldHaveSyntaxVersionAtLeast, getNearestAncestor, getSyntaxVersionBound, hasAncestor, maybeSetSyntaxVersionBound, setParentequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetId, getParent, getSourceLocation, setId, setSourceLocationcouldHaveSyntaxVersionAtLeast, getNearestAncestor, getSyntaxVersionBound, hasAncestor, maybeSetSyntaxVersionBound, setParent, toSourceString, toTreeStringgetCommandName, getCommandText, getTagStringaddChild, addChild, addChildren, addChildren, appendSourceStringForChildren, appendTreeStringForChildren, clearChildren, getChild, getChildIndex, getChildren, numChildren, removeChild, removeChild, replaceChild, replaceChildpublic SoyNode.Kind getKind()
SoyNodepublic String getDelTemplateName()
public String getDelTemplateVariant()
public TemplateDelegateNode.DelTemplateKey getDelTemplateKey()
public int getDelPriority()
public TemplateDelegateNode clone()
NodeAll clone() overrides should follow this contract:
{@literal @}Override public T clone() {
return new T(this);
}
NOTE: this means we do not ultimately delegate to Object.clone(), ever.
TODO(lukes): The usecases for a clone method are few and far between. Making the AST nodes immutable (or at least unmodifiable) would be preferable to maintaining our clone() methods.
public List<ExprUnion> getAllExprUnions()
SoyNode.ExprHolderNodegetAllExprUnions in interface SoyNode.ExprHolderNode