| 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. |
| Modifier and Type | Method and Description |
|---|---|
SoyAutoescapeException |
SoyAutoescapeException.associateNode(SoyNode node)
Important: Do not use outside of Soy code (treat as superpackage-private).
|
static SoyAutoescapeException |
SoyAutoescapeException.createCausedWithNode(String message,
Throwable cause,
SoyNode node)
Creates a SoyAutoescapeException, with meta info filled in based on the given Soy node.
|
static SoyAutoescapeException |
SoyAutoescapeException.createCausedWithoutMetaInfo(String message,
Throwable cause)
Deprecated.
|
static SoyAutoescapeException |
SoyAutoescapeException.createWithNode(String message,
SoyNode node)
Creates a SoyAutoescapeException, with meta info filled in based on the given Soy node.
|
static SoyAutoescapeException |
SoyAutoescapeException.createWithoutMetaInfo(String message)
Deprecated.
|
SoyAutoescapeException |
SoyAutoescapeException.maybeAssociateNode(SoyNode node)
Important: Do not use outside of Soy code (treat as superpackage-private).
|
| Modifier and Type | Method and Description |
|---|---|
void |
SlicedRawTextNode.RawTextSlice.insertText(int offset,
String text)
Mutates the parse tree by replacing the sliced text node with a text node that
includes the given text at the given point within this slice.
|