| Package | Description |
|---|---|
| com.google.template.soy.base.internal | |
| 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 |
|---|---|
LegacyInternalSyntaxException |
LegacyInternalSyntaxException.associateMetaInfo(SourceLocation srcLoc,
String filePath,
String templateName) |
static LegacyInternalSyntaxException |
LegacyInternalSyntaxException.createWithMetaInfo(String message,
SourceLocation srcLoc)
Important: Do not use outside of Soy code (treat as superpackage-private).
|
static LegacyInternalSyntaxException |
LegacyInternalSyntaxException.createWithMetaInfo(String message,
SourceLocation srcLoc,
String filePath,
String templateName)
Important: Do not use outside of Soy code (treat as superpackage-private).
|
static LegacyInternalSyntaxException |
LegacyInternalSyntaxException.createWithoutMetaInfo(String message)
Deprecated.
Prefer
createWithMetaInfo(java.lang.String, com.google.template.soy.base.SourceLocation, java.lang.String, java.lang.String). There's no good
reason for not knowing where an error comes from. |
| Modifier and Type | Class and Description |
|---|---|
class |
SoyAutoescapeException
Indicates failure to propagate contexts through a template or an existing escaping directive on a
'print' tag that is inconsistent with the contexts in which it appears.
|
| Modifier and Type | Method and Description |
|---|---|
static LegacyInternalSyntaxException |
SoySyntaxExceptionUtils.associateNode(LegacyInternalSyntaxException sse,
SoyNode node)
Adds meta info to an existing LegacyInternalSyntaxException.
|
static LegacyInternalSyntaxException |
SoySyntaxExceptionUtils.createWithNode(String message,
SoyNode node)
Creates a LegacyInternalSyntaxException, with meta info filled in based on the given Soy node.
|
| Modifier and Type | Method and Description |
|---|---|
static LegacyInternalSyntaxException |
SoySyntaxExceptionUtils.associateNode(LegacyInternalSyntaxException sse,
SoyNode node)
Adds meta info to an existing LegacyInternalSyntaxException.
|