public abstract class AbstractExprNode extends AbstractNode implements ExprNode
Important: Do not use outside of Soy code (treat as superpackage-private).
ExprNode.Kind, ExprNode.OperatorNode, ExprNode.ParentExprNode, ExprNode.PrimitiveNode| Modifier | Constructor and Description |
|---|---|
protected |
AbstractExprNode(AbstractExprNode orig,
CopyState copyState)
Copy constructor.
|
protected |
AbstractExprNode(SourceLocation sourceLocation) |
| Modifier and Type | Method and Description |
|---|---|
ExprNode.ParentExprNode |
getParent()
Gets this node's parent.
|
SourceLocation |
getSourceLocation()
Returns the source location (file path and line number) for this node.
|
couldHaveSyntaxVersionAtLeast, equals, getNearestAncestor, getSyntaxVersionUpperBound, hasAncestor, hashCode, maybeSetSyntaxVersionUpperBound, setParent, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcouldHaveSyntaxVersionAtLeast, getNearestAncestor, getSyntaxVersionUpperBound, hasAncestor, maybeSetSyntaxVersionUpperBound, setParent, toSourceStringprotected AbstractExprNode(SourceLocation sourceLocation)
protected AbstractExprNode(AbstractExprNode orig, CopyState copyState)
orig - The node to copy.public ExprNode.ParentExprNode getParent()
Nodepublic SourceLocation getSourceLocation()
NodegetSourceLocation in interface Node