| Package | Description |
|---|---|
| com.google.template.soy.exprtree |
Expression parse tree.
|
| com.google.template.soy.jssrc.internal | |
| com.google.template.soy.pysrc.internal |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractOperatorNode
Abstract implementation of an OperatorNode.
|
static class |
OperatorNodes.AndOpNode
Node representing the 'and' operator.
|
static class |
OperatorNodes.ConditionalOpNode
Node representing the ternary '? :' (conditional) operator.
|
static class |
OperatorNodes.DivideByOpNode
Node representing the '/' (divde by) operator.
|
static class |
OperatorNodes.EqualOpNode
Node representing the '==' (equal) operator.
|
static class |
OperatorNodes.GreaterThanOpNode
Node representing the '>' (greater than) operator.
|
static class |
OperatorNodes.GreaterThanOrEqualOpNode
Node representing the '>=' (greater than or equal) operator.
|
static class |
OperatorNodes.LessThanOpNode
Node representing the '<' (less than) operator.
|
static class |
OperatorNodes.LessThanOrEqualOpNode
Node representing the '<=' (less than or equal) operator.
|
static class |
OperatorNodes.MinusOpNode
Node representing the binary '-' (minus) operator.
|
static class |
OperatorNodes.ModOpNode
Node representing the '%' (mod) operator.
|
static class |
OperatorNodes.NegativeOpNode
Node representing the unary '-' (negative) operator.
|
static class |
OperatorNodes.NotEqualOpNode
Node representing the '!=' (not equal) operator.
|
static class |
OperatorNodes.NotOpNode
Node representing the 'not' operator.
|
static class |
OperatorNodes.NullCoalescingOpNode
Node representing the '?:' (null-coalescing) operator.
|
static class |
OperatorNodes.OrOpNode
Node representing the 'or' operator.
|
static class |
OperatorNodes.PlusOpNode
Node representing the '+' (plus) operator.
|
static class |
OperatorNodes.TimesOpNode
Node representing the '*' (times) operator.
|
| Modifier and Type | Method and Description |
|---|---|
abstract ExprNode.OperatorNode |
Operator.createNode(SourceLocation location)
Creates a node representing this operator.
|
ExprNode.OperatorNode |
Operator.createNode(SourceLocation location,
ExprNode... children)
Creates a node representing this operator, with the given children.
|
static ExprNode.OperatorNode |
Operator.createOperatorNode(SourceLocation location,
String op,
int prec,
ExprNode... children)
Create an operator node, given the token, precedence, and list of children (arguments).
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractExprNodeVisitor.visitOperatorNode(ExprNode.OperatorNode node) |
protected R |
AbstractReturningExprNodeVisitor.visitOperatorNode(ExprNode.OperatorNode node) |
| Modifier and Type | Method and Description |
|---|---|
protected CodeChunk.WithValue |
TranslateExprNodeVisitor.visitOperatorNode(ExprNode.OperatorNode node) |
| Modifier and Type | Method and Description |
|---|---|
protected PyExpr |
TranslateToPyExprVisitor.visitOperatorNode(ExprNode.OperatorNode node) |