| Package | Description |
|---|---|
| com.google.template.soy |
Root package with main API entry point and
Guice module.
|
| com.google.template.soy.base.internal | |
| com.google.template.soy.error | |
| com.google.template.soy.jbcsrc |
| Modifier and Type | Method and Description |
|---|---|
SoyFileSet |
SoyFileSet.SoyFileSetFactory.create(com.google.common.collect.ImmutableMap<String,SoyFileSupplier> soyFileSuppliers,
SoyAstCache cache,
SoyGeneralOptions options,
SoyTypeRegistry localTypeRegistry) |
| Constructor and Description |
|---|
SoyFileSetParser(SoyTypeRegistry typeRegistry,
SoyAstCache astCache,
com.google.common.collect.ImmutableMap<String,? extends SoyFileSupplier> soyFileSuppliers,
PassManager passManager,
ErrorReporter errorReporter) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractSoyFileSupplier
Abstract base implementation of SoyFileSupplier.
|
class |
StableSoyFileSupplier
Record for one input Soy file.
|
class |
VolatileSoyFileSupplier
Record for one input Soy file whose content should be considered prone to change without
warning.
|
| Modifier and Type | Method and Description |
|---|---|
static SoyFileSupplier |
SoyFileSupplier.Factory.create(CharSequence content,
SoyFileKind soyFileKind,
String filePath)
Creates a new
SoyFileSupplier given the file content provided as a string, as well
as the desired file path for messages. |
static SoyFileSupplier |
SoyFileSupplier.Factory.create(com.google.common.io.CharSource contentSource,
SoyFileKind soyFileKind,
String filePath)
Creates a new
SoyFileSupplier given a CharSource for the file content,
as well as the desired file path for messages. |
static SoyFileSupplier |
SoyFileSupplier.Factory.create(File inputFile,
SoyFileKind soyFileKind)
Creates a new
SoyFileSupplier given a File. |
static SoyFileSupplier |
SoyFileSupplier.Factory.create(URL inputFileUrl,
SoyFileKind soyFileKind)
Creates a new
SoyFileSupplier given a resource URL. |
static SoyFileSupplier |
SoyFileSupplier.Factory.create(URL inputFileUrl,
SoyFileKind soyFileKind,
String filePath)
Creates a new
SoyFileSupplier given a resource URL, as well as the desired
file path for messages. |
| Constructor and Description |
|---|
SnippetFormatter(com.google.common.collect.ImmutableMap<String,SoyFileSupplier> filePathsToSuppliers) |
| Modifier and Type | Method and Description |
|---|---|
static void |
BytecodeCompiler.writeSrcJar(TemplateRegistry registry,
com.google.common.collect.ImmutableMap<String,SoyFileSupplier> files,
com.google.common.io.ByteSink sink)
Writes the source files out to a
-src.jar. |