public abstract class CallParamNode extends AbstractSoyNode
Important: Do not use outside of Soy code (treat as superpackage-private).
SoyNode.BlockCommandNode, SoyNode.BlockNode, SoyNode.CommandNode, SoyNode.ConditionalBlockNode, SoyNode.ExprHolderNode, SoyNode.Kind, SoyNode.LocalVarBlockNode, SoyNode.LocalVarInlineNode, SoyNode.LocalVarNode, SoyNode.MsgBlockNode, SoyNode.MsgPlaceholderInitialNode, SoyNode.MsgSubstUnitNode, SoyNode.ParentSoyNode<N extends SoyNode>, SoyNode.RenderUnitNode, SoyNode.SplitLevelTopNode<N extends SoyNode>, SoyNode.StandaloneNode, SoyNode.StatementNode| Modifier | Constructor and Description |
|---|---|
protected |
CallParamNode(CallParamNode orig,
CopyState copyState)
Copy constructor.
|
protected |
CallParamNode(int id,
SourceLocation sourceLocation,
Identifier key) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommandName()
Returns the Soy command name.
|
String |
getCommandText()
Returns the command text (may be the empty string).
|
Identifier |
getKey()
Returns the param key.
|
CallNode |
getParent()
Gets this node's parent.
|
protected String |
getTagString() |
protected String |
getTagString(boolean selfEnding) |
String |
toSourceString()
Builds a Soy source string that could be the source for this node.
|
getId, getSourceLocation, setId, toStringcouldHaveSyntaxVersionAtLeast, equals, getNearestAncestor, getSyntaxVersionUpperBound, hasAncestor, hashCode, maybeSetSyntaxVersionUpperBound, setParentclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopy, getId, getKind, setIdcouldHaveSyntaxVersionAtLeast, getNearestAncestor, getSourceLocation, getSyntaxVersionUpperBound, hasAncestor, maybeSetSyntaxVersionUpperBound, setParentprotected CallParamNode(int id,
SourceLocation sourceLocation,
Identifier key)
protected CallParamNode(CallParamNode orig, CopyState copyState)
orig - The node to copy.public Identifier getKey()
public CallNode getParent()
Nodepublic String getCommandName()
SoyNode.CommandNodegetCommandName in interface SoyNode.CommandNodepublic String getCommandText()
SoyNode.CommandNodegetCommandText in interface SoyNode.CommandNodeprotected String getTagString()
protected final String getTagString(boolean selfEnding)
public String toSourceString()
NodeNote: Some nodes do not have a direct mapping to Soy source (such as nodes created during some optimization passes). Thus this method may not always be supported.
toSourceString in interface Node