| Package | Description |
|---|---|
| com.google.template.soy.exprtree |
Expression parse tree.
|
| com.google.template.soy.jssrc.internal | |
| com.google.template.soy.pysrc.internal | |
| com.google.template.soy.sharedpasses.render | |
| com.google.template.soy.soytree |
Soy parse tree.
|
| Modifier and Type | Method and Description |
|---|---|
ExprRootNode |
ExprRootNode.copy(CopyState copyState) |
| Modifier and Type | Method and Description |
|---|---|
static List<ExprRootNode> |
ExprRootNode.wrap(Iterable<? extends ExprNode> exprs) |
| Modifier and Type | Method and Description |
|---|---|
protected R |
AbstractReturningExprNodeVisitor.visitExprRootNode(ExprRootNode node) |
protected void |
AbstractExprNodeVisitor.visitExprRootNode(ExprRootNode node) |
| Modifier and Type | Method and Description |
|---|---|
static List<ExprNode> |
ExprRootNode.unwrap(Iterable<ExprRootNode> exprs) |
| Modifier and Type | Method and Description |
|---|---|
protected JsExpr |
TranslateToJsExprVisitor.visitExprRootNode(ExprRootNode node) |
| Modifier and Type | Method and Description |
|---|---|
protected PyExpr |
TranslateToPyExprVisitor.visitExprRootNode(ExprRootNode node) |
| Modifier and Type | Method and Description |
|---|---|
protected SoyValue |
EvalVisitor.visitExprRootNode(ExprRootNode node) |
| Modifier and Type | Method and Description |
|---|---|
abstract ExprRootNode |
CallNode.DataAttribute.dataExpr() |
ExprRootNode |
CssNode.getComponentNameExpr()
Returns the parsed component name expression, or null if this node has no expression.
|
ExprRootNode |
CallDelegateNode.getDelCalleeVariantExpr()
Returns the variant expression for the delegate being called, or null if it's a string.
|
ExprRootNode |
SwitchNode.getExpr()
Returns the parsed expression, or null if the expression is not in V2 syntax.
|
ExprRootNode |
MsgSelectNode.getExpr()
Returns the expression for the value to select on.
|
ExprRootNode |
MsgPluralNode.getExpr()
Returns the parsed expression.
|
ExprRootNode |
ForeachNonemptyNode.getExpr()
Returns the expression we're iterating over.
|
ExprRootNode |
ForeachNode.getExpr()
Returns the parsed expression.
|
ExprRootNode |
ExprUnion.getExpr()
Returns the expression tree if the expression is in V2 syntax, else null.
|
ExprRootNode |
LetValueNode.getValueExpr()
Returns the value expression that the variable is set to.
|
abstract ExprRootNode |
ForNode.RangeArgs.limit()
The expression for the iteration end point.
|
| Modifier and Type | Method and Description |
|---|---|
List<ExprRootNode> |
MsgNode.getAndRemoveGenderExprs()
Returns the list of expressions for gender values and sets that field to null.
|
List<ExprRootNode> |
PrintDirectiveNode.getArgs()
The parsed args.
|
List<ExprRootNode> |
SwitchCaseNode.getExprList()
Returns the parsed expression list, or null if the expression list is not in V2 syntax.
|
abstract com.google.common.base.Optional<ExprRootNode> |
ForNode.RangeArgs.increment()
The expression for the iteration increment.
|
abstract com.google.common.base.Optional<ExprRootNode> |
ForNode.RangeArgs.start()
The expression for the iteration start point.
|
| Modifier and Type | Method and Description |
|---|---|
CallDelegateNode.Builder |
CallDelegateNode.Builder.delCalleeVariantExpr(ExprRootNode delCalleeVariantExpr) |
static CallNode.DataAttribute |
CallNode.DataAttribute.expr(ExprRootNode expr) |
| Modifier and Type | Method and Description |
|---|---|
static List<ExprUnion> |
ExprUnion.createList(List<? extends ExprRootNode> exprs)
Utility to create a list of
ExprUnions from a list of expression trees. |
| Constructor and Description |
|---|
ExprUnion(ExprRootNode expr)
Constructor for an instance that represents a V2 expression.
|
ForeachNode(int id,
ExprRootNode expr,
String commandText,
SourceLocation sourceLocation) |
MsgSelectNode(int id,
SourceLocation sourceLocation,
ExprRootNode selectExpr,
String baseSelectVarName) |