| 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.jssrc.restricted | |
| com.google.template.soy.passes | |
| com.google.template.soy.pysrc.restricted | |
| com.google.template.soy.shared.internal | |
| com.google.template.soy.shared.restricted |
| 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 |
FloorFunction
Soy function that takes the floor of a number.
|
class |
KeysFunction
Soy function that gets the keys in a map.
|
class |
MaxFunction
Soy function that takes the max of two numbers.
|
class |
MinFunction
Soy function that takes the min of two numbers.
|
class |
RandomIntFunction
Soy function that generates a random integer in the range [0, n-1].
|
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() |
| Modifier and Type | Method and Description |
|---|---|
void |
FunctionNode.setSoyFunction(SoyFunction soyFunction) |
| Modifier and Type | Method and Description |
|---|---|
SoySauceImpl |
SoySauceImpl.Factory.create(CompiledTemplates templates,
com.google.common.collect.ImmutableMap<String,? extends SoyFunction> soyFunctionMap,
com.google.common.collect.ImmutableMap<String,? extends SoyPrintDirective> printDirectives) |
| 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 | Method and Description |
|---|---|
PassManager.Builder |
PassManager.Builder.setSoyFunctionMap(com.google.common.collect.ImmutableMap<String,? extends SoyFunction> functionMap) |
| Constructor and Description |
|---|
ResolveFunctionsVisitor(com.google.common.collect.ImmutableMap<String,? extends SoyFunction> soyFunctionMap) |
| 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.
|