| Package | Description |
|---|---|
| com.google.template.soy.basetree |
Classes shared by Soy parse trees and expression parse trees.
|
| com.google.template.soy.soytree |
Soy parse tree.
|
| Modifier and Type | Method and Description |
|---|---|
SyntaxVersionBound |
Node.getSyntaxVersionBound()
Returns a pair (syntaxVersion, reasonStr), where the first item is the lowest known upper bound
(exclusive!) for the syntax version of this node, and the second item is a user-friendly
explanation of the reason for the bound.
|
SyntaxVersionBound |
AbstractNode.getSyntaxVersionBound() |
static SyntaxVersionBound |
SyntaxVersionBound.selectLower(SyntaxVersionBound origBound,
SyntaxVersionBound newBound)
Returns the lower of the two given bounds.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Node.maybeSetSyntaxVersionBound(SyntaxVersionBound newSyntaxVersionBound)
Records a newly discovered upper bound for the syntax version of this node.
|
void |
AbstractNode.maybeSetSyntaxVersionBound(SyntaxVersionBound newSyntaxVersionBound) |
static SyntaxVersionBound |
SyntaxVersionBound.selectLower(SyntaxVersionBound origBound,
SyntaxVersionBound newBound)
Returns the lower of the two given bounds.
|
| Modifier and Type | Field and Description |
|---|---|
protected SyntaxVersionBound |
CallNode.CommandTextInfo.syntaxVersionBound |
protected SyntaxVersionBound |
TemplateNodeBuilder.syntaxVersionBound
The lowest known syntax version bound.
|
| Modifier and Type | Method and Description |
|---|---|
CallBasicNode.Builder |
CallBasicNode.Builder.syntaxVersionBound(SyntaxVersionBound syntaxVersionBound) |
| Constructor and Description |
|---|
CommandTextInfo(String commandText,
boolean isPassingData,
ExprRootNode dataExpr,
String userSuppliedPlaceholderName,
SyntaxVersionBound syntaxVersionBound) |