public abstract class AbstractOperatorNode extends AbstractParentExprNode implements ExprNode.OperatorNode
Important: Do not use outside of Soy code (treat as superpackage-private).
ExprNode.ConstantNode, ExprNode.Kind, ExprNode.OperatorNode, ExprNode.ParentExprNode, ExprNode.PrimitiveNodeSPACES| Modifier | Constructor and Description |
|---|---|
protected |
AbstractOperatorNode(AbstractOperatorNode orig,
CopyState copyState)
Copy constructor.
|
|
AbstractOperatorNode(Operator operator,
SourceLocation sourceLocation) |
| Modifier and Type | Method and Description |
|---|---|
Operator |
getOperator() |
String |
toSourceString()
Builds a Soy source string that could be the source for this node.
|
addChild, addChild, addChildren, addChildren, appendSourceStringForChildren, clearChildren, getChild, getChildIndex, getChildren, getType, numChildren, removeChild, removeChild, replaceChild, replaceChild, setTypegetParent, getSourceLocationcouldHaveSyntaxVersionAtLeast, equals, getNearestAncestor, getSyntaxVersionUpperBound, hasAncestor, hashCode, maybeSetSyntaxVersionUpperBound, setParent, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopy, getKind, getParent, getTypeaddChild, addChild, addChildren, addChildren, appendSourceStringForChildren, clearChildren, getChild, getChildIndex, getChildren, numChildren, removeChild, removeChild, replaceChild, replaceChildcouldHaveSyntaxVersionAtLeast, getNearestAncestor, getSourceLocation, getSyntaxVersionUpperBound, hasAncestor, maybeSetSyntaxVersionUpperBound, setParentpublic AbstractOperatorNode(Operator operator, SourceLocation sourceLocation)
protected AbstractOperatorNode(AbstractOperatorNode orig, CopyState copyState)
orig - The node to copy.public Operator getOperator()
getOperator in interface ExprNode.OperatorNodepublic String toSourceString()
NodetoSourceString in interface Node