| Package | Description |
|---|---|
| com.google.template.soy.exprtree |
Expression parse tree.
|
| com.google.template.soy.jssrc.internal | |
| com.google.template.soy.sharedpasses.render | |
| com.google.template.soy.soytree |
Soy parse tree.
|
| Modifier and Type | Method and Description |
|---|---|
ExprRootNode |
ExprRootNode.clone() |
| 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 SoyValue |
EvalVisitor.visitExprRootNode(ExprRootNode node) |
| Modifier and Type | Method and Description |
|---|---|
ExprRootNode |
CssNode.getComponentNameExpr()
Returns the parsed component name expression, or null if this node has no expression.
|
ExprRootNode |
CallNode.getDataExpr()
Returns the expression for the data to pass, or null if not applicable.
|
ExprRootNode |
CallDelegateNode.getDelCalleeVariantExpr()
Returns the variant expression for the delegate being called, or null if it's a string.
|
ExprRootNode |
MsgSelectNode.getExpr()
Returns the expression for the value to select on.
|
ExprRootNode |
ForeachNonemptyNode.getExpr()
Returns the expression we're iterating over.
|
ExprRootNode |
ForeachNode.getExpr()
Returns the parsed expression.
|
ExprRootNode |
MsgPluralNode.getExpr()
Returns the parsed expression.
|
ExprRootNode |
SwitchNode.getExpr()
Returns the parsed expression, or null if the expression is not in V2 syntax.
|
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.
|
protected static Pair<Boolean,ExprRootNode> |
CallNode.parseDataAttributeHelper(String dataAttr,
SourceLocation sourceLocation,
ErrorReporter errorReporter)
Private helper function for subclass constructors to parse the 'data' attribute.
|
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.dataExpr(ExprRootNode dataExpr) |
CallBasicNode.Builder |
CallBasicNode.Builder.dataExpr(ExprRootNode dataExpr) |
CallDelegateNode.Builder |
CallDelegateNode.Builder.delCalleeVariantExpr(ExprRootNode delCalleeVariantExpr) |
| 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 |
|---|
CommandTextInfo(String commandText,
boolean isPassingData,
ExprRootNode dataExpr,
String userSuppliedPlaceholderName,
SyntaxVersionBound syntaxVersionBound) |
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) |