| Package | Description |
|---|---|
| com.google.template.soy.basicdirectives |
Plugin package for basic print directives.
|
| com.google.template.soy.coredirectives |
Plugin package for core print directives.
|
| 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 | Class and Description |
|---|---|
class |
BasicEscapeDirective
An escaping directive that is backed by
Sanitizers in java, soyutils.js or
the closure equivalent in JavaScript, and sanitize.py in Python. |
class |
InsertWordBreaksDirective
A directive that inserts word breaks as necessary.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EscapeHtmlDirective
A directive that HTML-escapes the output.
|
class |
IdDirective
A directive that marks an identifier such as an HTML id or CSS class name.
|
class |
NoAutoescapeDirective
A directive that turns off autoescape for this 'print' tag (if it's on for the template).
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SoyJsSrcPrintDirective
Interface for a Soy print directive implemented for the JS Source backend.
|
interface |
SoyLibraryAssistedJsSrcPrintDirective
Interface for a Soy print directive with more Closure Library requirements than typical Soy
templates, implemented for the JS Source backend.
|
| Constructor and Description |
|---|
PerformAutoescapeVisitor(Map<String,SoyPrintDirective> soyDirectivesMap,
ErrorReporter errorReporter) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SoyPySrcPrintDirective
Interface for a Soy print directive implemented for the Python Source backend.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends SoyPrintDirective> |
ModuleUtils.buildSpecificSoyDirectivesMap(Set<SoyPrintDirective> soyDirectivesSet,
Class<T> specificSoyDirectiveType)
Given the set of all Soy directive implementations and a specific Soy directive type (subtype
of SoyPrintDirective) to look for, finds the Soy directives that implement the specific type
and returns them in the form of a map from directive name to directive.
|
static <T extends SoyPrintDirective,D extends SoyPrintDirective> |
ModuleUtils.buildSpecificSoyDirectivesMapWithAdaptation(Set<SoyPrintDirective> soyDirectivesSet,
Class<T> specificSoyDirectiveType,
Class<D> equivDeprecatedSoyDirectiveType,
com.google.common.base.Function<D,T> adaptFn)
Given the set of all Soy directive implementations, a specific Soy directive type (subtype of
SoyPrintDirective) to look for, another Soy directive type to look for that is an equivalent
deprecated version of the specific Soy directive type, and an adapt function for adapting the
deprecated type to the specific type, finds the Soy directives that implement either type and
returns them in the form of a map from directive name to directive, where the directives with
the deprecated type have been adapted using the adapt function.
|
static <T extends SoyPrintDirective,D extends SoyPrintDirective> |
ModuleUtils.buildSpecificSoyDirectivesMapWithAdaptation(Set<SoyPrintDirective> soyDirectivesSet,
Class<T> specificSoyDirectiveType,
Class<D> equivDeprecatedSoyDirectiveType,
com.google.common.base.Function<D,T> adaptFn)
Given the set of all Soy directive implementations, a specific Soy directive type (subtype of
SoyPrintDirective) to look for, another Soy directive type to look for that is an equivalent
deprecated version of the specific Soy directive type, and an adapt function for adapting the
deprecated type to the specific type, finds the Soy directives that implement either type and
returns them in the form of a map from directive name to directive, where the directives with
the deprecated type have been adapted using the adapt function.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends SoyPrintDirective> |
ModuleUtils.buildSpecificSoyDirectivesMap(Set<SoyPrintDirective> soyDirectivesSet,
Class<T> specificSoyDirectiveType)
Given the set of all Soy directive implementations and a specific Soy directive type (subtype
of SoyPrintDirective) to look for, finds the Soy directives that implement the specific type
and returns them in the form of a map from directive name to directive.
|
static <T extends SoyPrintDirective,D extends SoyPrintDirective> |
ModuleUtils.buildSpecificSoyDirectivesMapWithAdaptation(Set<SoyPrintDirective> soyDirectivesSet,
Class<T> specificSoyDirectiveType,
Class<D> equivDeprecatedSoyDirectiveType,
com.google.common.base.Function<D,T> adaptFn)
Given the set of all Soy directive implementations, a specific Soy directive type (subtype of
SoyPrintDirective) to look for, another Soy directive type to look for that is an equivalent
deprecated version of the specific Soy directive type, and an adapt function for adapting the
deprecated type to the specific type, finds the Soy directives that implement either type and
returns them in the form of a map from directive name to directive, where the directives with
the deprecated type have been adapted using the adapt function.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SoyJavaPrintDirective
Interface for a Soy print directive implemented for Java runtime rendering.
|
interface |
SoyJavaRuntimePrintDirective
Interface for a Soy print directive implemented for Java runtime rendering.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SoyTofuPrintDirective
Interface for a Soy print directive implemented for the Tofu backend (a.k.a.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SoyAbstractTofuPrintDirective |