| Package | Description |
|---|---|
| com.google.template.soy.examples |
Examples of template usage in Java.
|
| com.google.template.soy.parseinfo |
Classes to represent parse info (see
SoyParseInfoGenerator). |
| com.google.template.soy.tofu |
Java Object backend (a.k.a. Tofu).
|
| com.google.template.soy.tofu.internal |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<SoyTemplateInfo> |
SoyFileInfo.getTemplates()
Returns the list of templates in this Soy file.
|
| Constructor and Description |
|---|
SoyFileInfo(String fileName,
String namespace,
com.google.common.collect.ImmutableList<SoyTemplateInfo> templates,
com.google.common.collect.ImmutableMap<String,SoyFileInfo.CssTagsPrefixPresence> cssNameMap,
com.google.common.collect.ImmutableList<String> deltemplateNames)
Constructor for internal use only.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableSortedSet<String> |
SoyTofu.getUsedIjParamsForTemplate(SoyTemplateInfo templateInfo)
Gets the set of injected param keys used by a template (and its transitive callees).
|
SoyTofu.Renderer |
SoyTofu.newRenderer(SoyTemplateInfo templateInfo)
Gets a new Renderer for a template.
|
String |
SoyTofu.render(SoyTemplateInfo templateInfo,
SoyRecord data,
SoyMsgBundle msgBundle)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableSortedSet<String> |
BaseTofu.getUsedIjParamsForTemplate(SoyTemplateInfo templateInfo) |
SoyTofu.Renderer |
BaseTofu.newRenderer(SoyTemplateInfo templateInfo) |
String |
BaseTofu.render(SoyTemplateInfo templateInfo,
SoyRecord data,
SoyMsgBundle msgBundle)
Deprecated.
|