| Package | Description |
|---|---|
| com.google.template.soy.parsepasses.contextautoesc |
A pass that modifies a SoyFile to add escape directives where necessary based on a contextual
examination of template
print commands. |
| com.google.template.soy.soytree |
Soy parse tree.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<EscapingMode> |
Context.getEscapingModes(SoyNode node,
List<PrintDirectiveNode> printDirectives)
Returns the escaping mode appropriate for dynamic content inserted in this context.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Context.isCompatibleWith(EscapingMode mode)
True if the given escaping mode could make sense in this context.
|
| Modifier and Type | Method and Description |
|---|---|
static EscapingMode |
EscapingMode.fromDirective(String directiveName)
The escaping mode corresponding to the given directive or null.
|
EscapingMode |
HtmlContext.getEscapingMode()
The escaping mode appropriate for dynamic content inserted at this state.
|
static EscapingMode |
EscapingMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EscapingMode[] |
EscapingMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|