| Package | Description |
|---|---|
| com.google.template.soy.jssrc.restricted | |
| com.google.template.soy.parsepasses |
Compiler passes used in parsing.
|
| com.google.template.soy.pysrc.restricted | |
| com.google.template.soy.shared.internal | |
| com.google.template.soy.shared.restricted | |
| com.google.template.soy.tofu.restricted |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SoyJsSrcFunction
Interface for a Soy function implemented for the JS Source backend.
|
interface |
SoyLibraryAssistedJsSrcFunction
Interface for a Soy function with more Closure Library requirements than typical Soy
templates, implemented for the JS Source backend.
|
| Constructor and Description |
|---|
CheckFunctionCallsVisitor(Map<String,SoyFunction> soyFunctionsByName,
SyntaxVersion declaredSyntaxVersion,
ErrorReporter errorReporter) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SoyPySrcFunction
Interface for a Soy function implemented for the Python Source backend.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends SoyFunction> |
ModuleUtils.buildSpecificSoyFunctionsMap(Set<SoyFunction> soyFunctionsSet,
Class<T> specificSoyFunctionType)
Given the set of all Soy function implementations and a specific Soy function type (subtype
of SoyFunction) to look for, finds the Soy functions that implement the specific type
and returns them in the form of a map from function name to function.
|
static <T extends SoyFunction,D extends SoyFunction> |
ModuleUtils.buildSpecificSoyFunctionsMapWithAdaptation(Set<SoyFunction> soyFunctionsSet,
Class<T> specificSoyFunctionType,
Class<D> equivDeprecatedSoyFunctionType,
com.google.common.base.Function<D,T> adaptFn)
Given the set of all Soy function implementations, a specific Soy function type (subtype of
SoyFunction) to look for, another Soy function type to look for that is an equivalent
deprecated version of the specific Soy function type, and an adapt function for adapting the
deprecated type to the specific type, finds the Soy functions that implement either type and
returns them in the form of a map from function name to function, where the functions with
the deprecated type have been adapted using the adapt function.
|
static <T extends SoyFunction,D extends SoyFunction> |
ModuleUtils.buildSpecificSoyFunctionsMapWithAdaptation(Set<SoyFunction> soyFunctionsSet,
Class<T> specificSoyFunctionType,
Class<D> equivDeprecatedSoyFunctionType,
com.google.common.base.Function<D,T> adaptFn)
Given the set of all Soy function implementations, a specific Soy function type (subtype of
SoyFunction) to look for, another Soy function type to look for that is an equivalent
deprecated version of the specific Soy function type, and an adapt function for adapting the
deprecated type to the specific type, finds the Soy functions that implement either type and
returns them in the form of a map from function name to function, where the functions with
the deprecated type have been adapted using the adapt function.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends SoyFunction> |
ModuleUtils.buildSpecificSoyFunctionsMap(Set<SoyFunction> soyFunctionsSet,
Class<T> specificSoyFunctionType)
Given the set of all Soy function implementations and a specific Soy function type (subtype
of SoyFunction) to look for, finds the Soy functions that implement the specific type
and returns them in the form of a map from function name to function.
|
static <T extends SoyFunction,D extends SoyFunction> |
ModuleUtils.buildSpecificSoyFunctionsMapWithAdaptation(Set<SoyFunction> soyFunctionsSet,
Class<T> specificSoyFunctionType,
Class<D> equivDeprecatedSoyFunctionType,
com.google.common.base.Function<D,T> adaptFn)
Given the set of all Soy function implementations, a specific Soy function type (subtype of
SoyFunction) to look for, another Soy function type to look for that is an equivalent
deprecated version of the specific Soy function type, and an adapt function for adapting the
deprecated type to the specific type, finds the Soy functions that implement either type and
returns them in the form of a map from function name to function, where the functions with
the deprecated type have been adapted using the adapt function.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SoyJavaFunction
Interface for a Soy function implemented for Java runtime rendering.
|
interface |
SoyJavaRuntimeFunction
Interface for a Soy function implemented for Java runtime rendering.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SoyTofuFunction
Interface for a Soy function implemented for the Tofu backend (a.k.a.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SoyAbstractTofuFunction |