| 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 |
|---|---|
SyntaxVersionUpperBound |
Node.getSyntaxVersionUpperBound()
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.
|
SyntaxVersionUpperBound |
AbstractNode.getSyntaxVersionUpperBound() |
static SyntaxVersionUpperBound |
SyntaxVersionUpperBound.selectLower(SyntaxVersionUpperBound origBound,
SyntaxVersionUpperBound newBound)
Returns the lower of the two given bounds.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Node.maybeSetSyntaxVersionUpperBound(SyntaxVersionUpperBound newSyntaxVersionBound)
Records a newly discovered upper bound for the syntax version of this node.
|
void |
AbstractNode.maybeSetSyntaxVersionUpperBound(SyntaxVersionUpperBound newSyntaxVersionBound) |
static SyntaxVersionUpperBound |
SyntaxVersionUpperBound.selectLower(SyntaxVersionUpperBound origBound,
SyntaxVersionUpperBound newBound)
Returns the lower of the two given bounds.
|
| Modifier and Type | Field and Description |
|---|---|
protected SyntaxVersionUpperBound |
TemplateNodeBuilder.syntaxVersionBound
The lowest known syntax version bound.
|