|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.template.soy.basetree.AbstractNode
com.google.template.soy.soytree.AbstractSoyNode
com.google.template.soy.soytree.AbstractCommandNode
com.google.template.soy.soytree.CallParamNode
com.google.template.soy.soytree.CallParamValueNode
public class CallParamValueNode
Node representing a 'param' with a value expression.
Important: Do not use outside of Soy code (treat as superpackage-private).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.template.soy.soytree.CallParamNode |
|---|
CallParamNode.CommandTextParseResult |
| Nested classes/interfaces inherited from interface com.google.template.soy.soytree.SoyNode |
|---|
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.ParentSoyNode<N extends SoyNode>, SoyNode.RenderUnitNode, SoyNode.SplitLevelTopNode<N extends SoyNode>, SoyNode.StandaloneNode, SoyNode.StatementNode, SoyNode.SyntaxVersion |
| Field Summary |
|---|
| Fields inherited from class com.google.template.soy.basetree.AbstractNode |
|---|
SPACES |
| Constructor Summary | |
|---|---|
protected |
CallParamValueNode(CallParamValueNode orig)
Copy constructor. |
|
CallParamValueNode(int id,
String commandText)
|
| Method Summary | |
|---|---|
CallParamValueNode |
clone()
Clones this node. |
List<ExprUnion> |
getAllExprUnions()
Returns the list of expressions in this node. |
String |
getKey()
Returns the param key. |
SoyNode.Kind |
getKind()
Returns this node's kind (corresponding to this node's specific type). |
String |
getTagString()
Builds a Soy tag string that could be the Soy tag for this node. |
String |
getValueExprText()
Returns the expression text for the param value. |
ExprUnion |
getValueExprUnion()
Returns the parsed expression for the param value. |
| Methods inherited from class com.google.template.soy.soytree.CallParamNode |
|---|
getParent, parseCommandTextHelper |
| Methods inherited from class com.google.template.soy.soytree.AbstractCommandNode |
|---|
buildTagStringHelper, buildTagStringHelper, getCommandName, getCommandText, toSourceString |
| Methods inherited from class com.google.template.soy.soytree.AbstractSoyNode |
|---|
getId, getSourceLocation, getSyntaxVersion, maybeSetSyntaxVersion, setId, setSourceLocation, toString |
| Methods inherited from class com.google.template.soy.basetree.AbstractNode |
|---|
getNearestAncestor, hasAncestor, setParent, toTreeString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.template.soy.soytree.SoyNode |
|---|
getId, getParent, getSourceLocation, getSyntaxVersion, setId, setSourceLocation |
| Methods inherited from interface com.google.template.soy.basetree.Node |
|---|
getNearestAncestor, hasAncestor, setParent, toSourceString, toTreeString |
| Constructor Detail |
|---|
public CallParamValueNode(int id,
String commandText)
throws SoySyntaxException
id - The id for this node.commandText - The command text.
SoySyntaxException - If a syntax error is found.protected CallParamValueNode(CallParamValueNode orig)
orig - The node to copy.| Method Detail |
|---|
public SoyNode.Kind getKind()
SoyNode
getKind in interface SoyNodepublic String getKey()
CallParamNode
getKey in class CallParamNodepublic String getValueExprText()
public ExprUnion getValueExprUnion()
public String getTagString()
SoyNode.CommandNode
getTagString in interface SoyNode.CommandNodegetTagString in class AbstractCommandNodepublic List<ExprUnion> getAllExprUnions()
SoyNode.ExprHolderNode
getAllExprUnions in interface SoyNode.ExprHolderNodepublic CallParamValueNode clone()
Node
clone in interface Nodeclone in interface SoyNodeclone in class AbstractSoyNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||