| Package | Description |
|---|---|
| com.google.template.soy.exprtree |
Expression parse tree.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ExprNode.OperatorNode
A node representing an operator (with operands as children).
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractOperatorNode
Abstract implementation of an OperatorNode.
|
class |
AbstractParentExprNode
Abstract implementation of a ParentExprNode.
|
class |
DataAccessNode
Base class which represents access to a field or element of an aggregate value,
such as an object or collection.
|
class |
ExprRootNode
Dummy node that serves as the root of an expression tree so that the tree can be arbitrarily
changed without needing to change the reference to the tree.
|
class |
FieldAccessNode
Reference to a named field.
|
class |
FunctionNode
A node representing a function (with args as children).
|
class |
ItemAccessNode
Represents the bracket [] operation, which can either be used to access an
array element by index, or a map value by key.
|
class |
ListLiteralNode
A node representing a list literal (with items as children).
|
class |
MapLiteralNode
A node representing a map literal (with keys and values as alternating children).
|
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 |
|---|---|
ExprNode.ParentExprNode |
ExprNode.getParent() |
ExprNode.ParentExprNode |
AbstractExprNode.getParent() |
| Modifier and Type | Method and Description |
|---|---|
protected List<R> |
AbstractReturningExprNodeVisitor.visitChildren(ExprNode.ParentExprNode node)
Helper to visit all the children of a node, in order.
|
protected void |
AbstractExprNodeVisitor.visitChildren(ExprNode.ParentExprNode node)
Helper to visit all the children of a node, in order.
|
protected void |
AbstractExprNodeVisitor.visitChildrenAllowingConcurrentModification(ExprNode.ParentExprNode node)
Helper to visit all the children of a node, in order.
|