| Package | Description |
|---|---|
| com.google.template.soy.basetree |
Classes shared by Soy parse trees and expression parse trees.
|
| com.google.template.soy.passes | |
| com.google.template.soy.shared |
Classes shared between multiple backends or between frontend and backend.
|
| Modifier and Type | Field and Description |
|---|---|
SyntaxVersion |
SyntaxVersionUpperBound.syntaxVersion
The syntax version upper bound (exclusive!).
|
| Modifier and Type | Method and Description |
|---|---|
static SyntaxVersion |
SyntaxVersion.forName(String name) |
static SyntaxVersion |
SyntaxVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyntaxVersion[] |
SyntaxVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Node.couldHaveSyntaxVersionAtLeast(SyntaxVersion syntaxVersionCutoff)
Returns false if we know that this node's syntax version must be lower than the given value.
|
boolean |
AbstractNode.couldHaveSyntaxVersionAtLeast(SyntaxVersion syntaxVersionCutoff) |
| Constructor and Description |
|---|
SyntaxVersionUpperBound(SyntaxVersion syntaxVersion,
String reasonStr) |
| Modifier and Type | Method and Description |
|---|---|
PassManager.Builder |
PassManager.Builder.setDeclaredSyntaxVersion(SyntaxVersion declaredSyntaxVersion) |
| Modifier and Type | Method and Description |
|---|---|
SyntaxVersion |
SoyGeneralOptions.getDeclaredSyntaxVersion(SyntaxVersion defaultSyntaxVersion)
Returns the user-declared syntax version, or the given default value if the user did not
declare a syntax version.
|
| Modifier and Type | Method and Description |
|---|---|
SyntaxVersion |
SoyGeneralOptions.getDeclaredSyntaxVersion(SyntaxVersion defaultSyntaxVersion)
Returns the user-declared syntax version, or the given default value if the user did not
declare a syntax version.
|