public final class MsgPluralCaseNode extends CaseOrDefaultNode implements SoyNode.MsgBlockNode
Important: Do not use outside of Soy code (treat as superpackage-private).
Modifier and Type | Class and Description |
---|---|
static class |
MsgPluralCaseNode.Builder
Builder for
MsgPluralCaseNode . |
SoyNode.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.StatementNode
SPACES
Modifier and Type | Method and Description |
---|---|
MsgPluralCaseNode |
clone()
Copies this node.
|
int |
getCaseNumber()
Returns the case number.
|
SoyNode.Kind |
getKind()
Returns this node's kind (corresponding to this node's specific type).
|
toSourceString
addChild, addChild, addChildren, addChildren, appendSourceStringForChildren, appendTreeStringForChildren, clearChildren, getChild, getChildIndex, getChildren, numChildren, removeChild, removeChild, replaceChild, replaceChild, toTreeString
buildTagStringHelper, buildTagStringHelper, getCommandName, getCommandText, getTagString
getId, getParent, getSourceLocation, setId, setSourceLocation, toString
couldHaveSyntaxVersionAtLeast, getNearestAncestor, getSyntaxVersionBound, hasAncestor, maybeSetSyntaxVersionBound, setParent
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getId, getParent, getSourceLocation, setId, setSourceLocation
addChild, addChild, addChildren, addChildren, appendSourceStringForChildren, appendTreeStringForChildren, clearChildren, getChild, getChildIndex, getChildren, numChildren, removeChild, removeChild, replaceChild, replaceChild
couldHaveSyntaxVersionAtLeast, getNearestAncestor, getSyntaxVersionBound, hasAncestor, maybeSetSyntaxVersionBound, setParent, toSourceString, toTreeString
getCommandName, getCommandText, getTagString
public SoyNode.Kind getKind()
SoyNode
public int getCaseNumber()
public MsgPluralCaseNode clone()
Node
All 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.