| Package | Description |
|---|---|
| com.google.template.soy |
Root package with main API entry point and
Guice module.
|
| com.google.template.soy.basetree |
Classes shared by Soy parse trees and expression parse trees.
|
| com.google.template.soy.parsepasses |
Compiler passes used in parsing.
|
| com.google.template.soy.shared |
Classes shared between multiple backends or between frontend and backend.
|
| com.google.template.soy.sharedpasses |
Compiler passes shared between multiple backends or between frontend and backend.
|
| Constructor and Description |
|---|
SoyFileSetParser(SoyTypeRegistry typeRegistry,
SoyAstCache astCache,
SyntaxVersion declaredSyntaxVersion,
List<SoyFileSupplier> soyFileSuppliers,
ErrorReporter errorReporter) |
| Modifier and Type | Field and Description |
|---|---|
SyntaxVersion |
SyntaxVersionBound.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 |
|---|
SyntaxVersionBound(SyntaxVersion syntaxVersion,
String reasonStr) |
| Modifier and Type | Method and Description |
|---|---|
SyntaxVersion |
InferRequiredSyntaxVersionVisitor.exec(SoyNode node) |
| Modifier and Type | Method and Description |
|---|---|
CheckFunctionCallsVisitor |
CheckFunctionCallsVisitor.CheckFunctionCallsVisitorFactory.create(SyntaxVersion declaredSyntaxVersion,
ErrorReporter errorReporter) |
| Constructor and Description |
|---|
CheckFunctionCallsVisitor(Map<String,SoyFunction> soyFunctionsByName,
SyntaxVersion declaredSyntaxVersion,
ErrorReporter errorReporter) |
ReplaceHasDataFunctionVisitor(SyntaxVersion declaredSyntaxVersion,
ErrorReporter errorReporter) |
SetDefaultForDelcallAllowsEmptyDefaultVisitor(SyntaxVersion declaredSyntaxVersion,
ErrorReporter errorReporter) |
| 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.
|
| Constructor and Description |
|---|
CheckSoyDocVisitor(SyntaxVersion declaredSyntaxVersion,
ErrorReporter errorReporter) |
ReportSyntaxVersionErrorsVisitor(SyntaxVersion requiredSyntaxVersion,
boolean isDeclared,
ErrorReporter errorReporter) |
ResolveExpressionTypesVisitor(SoyTypeRegistry typeRegistry,
SyntaxVersion declaredSyntaxVersion,
ErrorReporter errorReporter) |
ResolveNamesVisitor(SyntaxVersion declaredSyntaxVersion,
ErrorReporter errorReporter) |