| Package | Description |
|---|---|
| com.google.template.soy.data |
Java representation of Soy data types.
|
| com.google.template.soy.data.internal | |
| com.google.template.soy.jbcsrc.runtime | |
| com.google.template.soy.jbcsrc.shared | |
| 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 | |
| com.google.template.soy.types.proto |
| 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,
int expectedKeys) |
| Modifier and Type | Method and Description |
|---|---|
static SoyValueProvider |
Runtime.getFieldProvider(SoyRecord record,
String field)
Helper function to make SoyRecord.getFieldProvider a non-nullable function by returning
Runtime.NULL_PROVIDER for missing fields. |
| Modifier and Type | Method and Description |
|---|---|
CompiledTemplate |
CompiledTemplate.Factory.create(SoyRecord params,
SoyRecord ij)
Returns a new
CompiledTemplate with the given params. |
CompiledTemplate |
RenderContext.getDelTemplate(String calleeName,
String variant,
boolean allowEmpty,
SoyRecord params,
SoyRecord ij) |
| 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,
com.google.common.base.Predicate<String> activeDelPackageSelector,
SoyMsgBundle msgBundle,
SoyIdRenamingMap xidRenamingMap,
SoyCssRenamingMap cssRenamingMap)
Creates a RenderVisitor.
|
EvalVisitor |
EvalVisitorFactoryImpl.create(SoyRecord ijData,
Environment env) |
EvalVisitor |
EvalVisitor.EvalVisitorFactory.create(SoyRecord ijData,
Environment env)
Creates an EvalVisitor.
|
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,
SoyRecord ijData,
Environment env) |
RenderVisitor(com.google.common.collect.ImmutableMap<String,? extends SoyJavaPrintDirective> soyJavaDirectivesMap,
EvalVisitor.EvalVisitorFactory evalVisitorFactory,
Appendable outputBuf,
TemplateRegistry templateRegistry,
SoyRecord data,
SoyRecord ijData,
com.google.common.base.Predicate<String> activeDelPackageSelector,
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.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SoyProtoTypeImpl.Value
Interface used to indicate that a value is a proto.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SoyProtoValue
Soy value that wraps a protocol buffer message object.
|