| 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.dsl | |
| com.google.template.soy.jssrc.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. |
| 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 | Method and Description |
|---|---|
static CodeChunk.WithValue |
SoyJsPluginUtils.applyDirective(CodeChunk.Generator generator,
CodeChunk.WithValue expr,
SoyJsSrcPrintDirective directive,
List<CodeChunk.WithValue> args)
Applies the given print directive to
expr and returns the result. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SoyLibraryAssistedJsSrcPrintDirective
Interface for a Soy print directive with more Closure Library requirements than typical Soy
templates, implemented for the JS Source backend.
|