| Package | Description |
|---|---|
| com.google.template.soy.basicfunctions |
Plugin package for basic functions.
|
| com.google.template.soy.exprtree |
Expression parse tree.
|
| com.google.template.soy.jbcsrc.api | |
| com.google.template.soy.jbcsrc.restricted | |
| com.google.template.soy.jssrc.internal | |
| com.google.template.soy.jssrc.restricted | |
| com.google.template.soy.logging | |
| com.google.template.soy.pysrc.restricted | |
| com.google.template.soy.shared.internal |
Internal shared class among multiple backends.
|
| com.google.template.soy.shared.restricted | |
| com.google.template.soy.soyparse |
| Modifier and Type | Class and Description |
|---|---|
class |
AugmentMapFunction
Soy function that creates a new map equivalent to augmenting an existing map with additional
mappings.
|
class |
CeilingFunction
Soy function that takes the ceiling of a number.
|
class |
DebugSoyTemplateInfoFunction
Soy special function for internal usages.
|
class |
FloatFunction
Soy special function for automatic coercion of an int into a float.
|
class |
FloorFunction
Soy function that takes the floor of a number.
|
class |
KeysFunction
Soy function that gets the keys in a map.
|
class |
LegacyObjectMapToMapFunction
Converts values of type
legacy_object_map to values of type experimental_map. |
class |
LengthFunction
Soy function that gets the length of a list.
|
class |
MapKeysFunction
Soy function that gets the keys in a map.
|
class |
MapToLegacyObjectMapFunction
Converts values of type
map to values of type legacy_object_map. |
class |
MaxFunction
Soy function that takes the max of two numbers.
|
class |
MinFunction
Soy function that takes the min of two numbers.
|
class |
ParseFloatFunction
Soy function that converts a string to a float.
|
class |
ParseIntFunction
Soy function that converts a string to an integer.
|
class |
RandomIntFunction
Soy function that generates a random integer in the range [0, n-1].
|
class |
RangeFunction
The Range function takes 1-3 arguments and generates a sequence of integers, like the python
range function. |
class |
RoundFunction
Soy function that rounds a number to a specified number of digits before or after the decimal
point.
|
| Modifier and Type | Method and Description |
|---|---|
SoyFunction |
FunctionNode.getSoyFunction() |
| Constructor and Description |
|---|
FunctionNode(SoyFunction soyFunction,
SourceLocation sourceLocation) |
| Constructor and Description |
|---|
SoySauceImpl(CompiledTemplates templates,
GuiceSimpleScope apiCallScope,
com.google.common.collect.ImmutableMap<String,? extends SoyFunction> functions,
com.google.common.collect.ImmutableMap<String,? extends SoyPrintDirective> printDirectives) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SoyJbcSrcFunction
A specialization of SoyFunction for generating code for plugin functions for the
jbcsrc
backend. |
| Modifier and Type | Class and Description |
|---|---|
class |
HasMetadataFunction
Soy special function for internal usages.
|
class |
VeLogFunction
Soy special function for internal usages.
|
class |
VeLogJsSrcLoggingFunction
Soy special function for internal usages.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SoyJsSrcFunction
Interface for a Soy function implemented for the JS Source backend.
|
interface |
SoyLibraryAssistedJsSrcFunction
Interface for a Soy function with more Closure Library requirements than typical Soy templates,
implemented for the JS Source backend.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
LoggingFunction
A LoggingFunction is a SoyFunction that is meant to interact with the logging subsystem.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SoyPySrcFunction
Interface for a Soy function implemented for the Python Source backend.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BuiltinFunction
Enum of built-in functions supported in Soy expressions.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SoyJavaFunction
Interface for a Soy function implemented for Java runtime rendering.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TypedSoyFunction
A soy function that carries type information.
|
| Modifier and Type | Method and Description |
|---|---|
SoyFunction |
PluginResolver.lookupSoyFunction(String name,
int numArgs,
SourceLocation location)
Returns a function with the given name and arity.
|
| Constructor and Description |
|---|
PluginResolver(PluginResolver.Mode mode,
com.google.common.collect.ImmutableMap<String,? extends SoyPrintDirective> printDirectives,
com.google.common.collect.ImmutableMap<String,? extends SoyFunction> functions,
ErrorReporter reporter) |