| 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 |
|---|---|
abstract SoyFileSetParser.Builder |
SoyFileSetParser.Builder.setSoyFileSuppliers(com.google.common.collect.ImmutableMap<String,? extends SoyFileSupplier> soyFileSuppliers) |
| 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. |
| Modifier and Type | Method and Description |
|---|---|
static ErrorReporter |
ErrorReporter.create(Map<String,SoyFileSupplier> filePathsToSuppliers)
Creates a new ErrorReporter which can create source snippets from the given files.
|
| 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. |