| Package | Description |
|---|---|
| com.google.template.soy.data |
Java representation of Soy data types.
|
| com.google.template.soy.data.internal | |
| com.google.template.soy.jbcsrc.api | |
| com.google.template.soy.jbcsrc.runtime | |
| com.google.template.soy.sharedpasses.opti | |
| com.google.template.soy.sharedpasses.render | |
| com.google.template.soy.tofu |
Java Object backend (a.k.a. Tofu).
|
| com.google.template.soy.tofu.internal |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SoyDict
A SoyRecord that also implements the SoyMap interface.
|
interface |
SoyEasyDict
A mutable SoyDict with additional methods for ease-of-use.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SoyAbstractCachingRecord
Abstract implementation of SoyRecord that caches previously retrieved field value providers.
|
class |
SoyAbstractRecord
Abstract implementation of SoyRecord.
|
class |
SoyMapData
A map data node in a Soy data tree.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AugmentedParamStore
Implementation of ParamStore that represents a backing store augmented with additional fields
(params).
|
class |
BasicParamStore
Basic implementation of ParamStore.
|
class |
DictImpl
Internal implementation of SoyDict in terms of a map.
|
class |
EasyDictImpl
Internal implementation of SoyEasyDict.
|
class |
ParamStore
Internal-use param store for passing data in subtemplate calls.
|
| Constructor and Description |
|---|
AugmentedParamStore(SoyRecord backingStore) |
| Modifier and Type | Method and Description |
|---|---|
CompiledTemplate |
CompiledTemplate.Factory.create(SoyRecord params,
SoyRecord ij)
Returns a new
CompiledTemplate with the given params. |
| Modifier and Type | Method and Description |
|---|---|
void |
Runtime.checkRequiredParam(SoyRecord params,
String paramName) |
| Modifier and Type | Method and Description |
|---|---|
com.google.template.soy.sharedpasses.opti.PreevalVisitor |
PreevalVisitorFactory.create(SoyRecord ijData,
Environment env) |
| Modifier and Type | Field and Description |
|---|---|
protected SoyRecord |
RenderVisitor.data
The current template data.
|
protected SoyRecord |
RenderVisitor.ijData
The current injected data.
|
| Modifier and Type | Method and Description |
|---|---|
RenderVisitor |
RenderVisitorFactory.create(Appendable outputBuf,
TemplateRegistry templateRegistry,
SoyRecord data,
SoyRecord ijData,
Set<String> activeDelPackageNames,
SoyMsgBundle msgBundle,
SoyIdRenamingMap xidRenamingMap,
SoyCssRenamingMap cssRenamingMap)
Creates a RenderVisitor.
|
EvalVisitor |
EvalVisitor.EvalVisitorFactory.create(SoyRecord ijData,
Environment env)
Creates an EvalVisitor.
|
EvalVisitor |
EvalVisitorFactoryImpl.create(SoyRecord ijData,
Environment env) |
static Environment |
TestingEnvironment.createForTest(SoyRecord params,
Map<String,SoyValueProvider> locals)
Creates an environment that should only be used in testing environments.
|
protected RenderVisitor |
RenderVisitor.createHelperInstance(Appendable outputBuf,
SoyRecord data)
Creates a helper instance for rendering a subtemplate.
|
| Constructor and Description |
|---|
EvalVisitor(SoyValueHelper valueHelper,
Map<String,SoyJavaFunction> soyJavaFunctionsMap,
SoyRecord ijData,
Environment env) |
RenderVisitor(Map<String,SoyJavaPrintDirective> soyJavaDirectivesMap,
EvalVisitor.EvalVisitorFactory evalVisitorFactory,
Appendable outputBuf,
ErrorReporter errorReporter,
TemplateRegistry templateRegistry,
SoyRecord data,
SoyRecord ijData,
Set<String> activeDelPackageNames,
SoyMsgBundle msgBundle,
SoyIdRenamingMap xidRenamingMap,
SoyCssRenamingMap cssRenamingMap) |
| Modifier and Type | Method and Description |
|---|---|
String |
SoyTofu.render(SoyTemplateInfo templateInfo,
SoyRecord data,
SoyMsgBundle msgBundle)
Deprecated.
|
String |
SoyTofu.render(String templateName,
SoyRecord data,
SoyMsgBundle msgBundle)
Deprecated.
|
SoyTofu.Renderer |
SoyTofu.Renderer.setData(SoyRecord data)
Sets the data to call the template with.
|
SoyTofu.Renderer |
SoyTofu.Renderer.setIjData(SoyRecord ijData)
Sets the injected data to call the template with.
|
| Modifier and Type | Method and Description |
|---|---|
String |
BaseTofu.render(SoyTemplateInfo templateInfo,
SoyRecord data,
SoyMsgBundle msgBundle)
Deprecated.
|
String |
BaseTofu.render(String templateName,
SoyRecord data,
SoyMsgBundle msgBundle)
Deprecated.
|