public interface ExprNode extends Node
The top level definition is the base ExprNode interface.
Important: Do not use outside of Soy code (treat as superpackage-private).
| Modifier and Type | Interface and Description |
|---|---|
static class |
ExprNode.Kind
Enum of specific node kinds (coresponding to specific node types).
|
static interface |
ExprNode.OperatorNode
A node representing an operator (with operands as children).
|
static interface |
ExprNode.ParentExprNode
A node in an expression parse tree that may be a parent.
|
static interface |
ExprNode.PrimitiveNode
A node representing a primitive literal.
|
| Modifier and Type | Method and Description |
|---|---|
ExprNode |
copy(CopyState copyState)
See
Node.copy(CopyState) for a description of the copy contract. |
ExprNode.Kind |
getKind()
Gets this node's kind (corresponding to this node's specific type).
|
ExprNode.ParentExprNode |
getParent()
Gets this node's parent.
|
SoyType |
getType()
Gets the data type of this node.
|
couldHaveSyntaxVersionAtLeast, getNearestAncestor, getSourceLocation, getSyntaxVersionUpperBound, hasAncestor, maybeSetSyntaxVersionUpperBound, setParent, toSourceStringExprNode.Kind getKind()
SoyType getType()
ExprNode.ParentExprNode getParent()
NodeExprNode copy(CopyState copyState)
Node.copy(CopyState) for a description of the copy contract.