| Package | Description |
|---|---|
| com.google.template.soy |
Root package with main API entry point and
Guice module.
|
| com.google.template.soy.passes | |
| com.google.template.soy.shared |
Classes shared between multiple backends or between frontend and backend.
|
| Modifier and Type | Method and Description |
|---|---|
SoyFileSet |
SoyFileSet.SoyFileSetFactory.create(com.google.common.collect.ImmutableMap<String,SoyFileSupplier> soyFileSuppliers,
SoyAstCache cache,
SoyGeneralOptions options,
SoyTypeRegistry localTypeRegistry) |
void |
SoyFileSet.Builder.setGeneralOptions(SoyGeneralOptions generalOptions)
Sets all Soy general options.
|
| Modifier and Type | Method and Description |
|---|---|
PassManager.Builder |
PassManager.Builder.setGeneralOptions(SoyGeneralOptions opts) |
| Modifier and Type | Method and Description |
|---|---|
SoyGeneralOptions |
SoyGeneralOptions.clone() |
SoyGeneralOptions |
SoyGeneralOptions.setAllowExternalCalls(boolean allowExternalCalls)
Sets whether to allow external calls (calls to undefined templates).
|
SoyGeneralOptions |
SoyGeneralOptions.setCompileTimeGlobals(File compileTimeGlobalsFile)
Sets the file containing compile-time globals.
|
SoyGeneralOptions |
SoyGeneralOptions.setCompileTimeGlobals(Map<String,?> compileTimeGlobalsMap)
Sets the map from compile-time global name to value.
|
SoyGeneralOptions |
SoyGeneralOptions.setCompileTimeGlobals(URL compileTimeGlobalsResource)
Sets the resource file containing compile-time globals.
|
SoyGeneralOptions |
SoyGeneralOptions.setDeclaredSyntaxVersionName(String versionName)
Sets the user-declared syntax version name for the Soy file bundle.
|
SoyGeneralOptions |
SoyGeneralOptions.setStrictAutoescapingRequired(boolean strictAutoescapingRequired)
Sets whether strict autoescaping is required.
|