| Package | Description |
|---|---|
| com.google.template.soy.base.internal | |
| com.google.template.soy.shared |
Classes shared between multiple backends or between frontend and backend.
|
| Modifier and Type | Field and Description |
|---|---|
static SoyFileSupplier.Version |
SoyFileSupplier.Version.STABLE_VERSION
A version for stable resources : resources that don't change over the life of a JVM.
|
| Modifier and Type | Method and Description |
|---|---|
SoyFileSupplier.Version |
VolatileSoyFileSupplier.getVersion() |
SoyFileSupplier.Version |
StableSoyFileSupplier.getVersion() |
SoyFileSupplier.Version |
SoyFileSupplier.getVersion()
Returns the version of the Soy file read.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
VolatileSoyFileSupplier.hasChangedSince(SoyFileSupplier.Version version) |
boolean |
StableSoyFileSupplier.hasChangedSince(SoyFileSupplier.Version version) |
boolean |
SoyFileSupplier.hasChangedSince(SoyFileSupplier.Version version)
True if the underlying resource has changed since the given version.
|
| Modifier and Type | Method and Description |
|---|---|
abstract SoyFileSupplier.Version |
SoyAstCache.VersionedFile.version() |
| Modifier and Type | Method and Description |
|---|---|
SoyAstCache.VersionedFile |
SoyAstCache.get(String fileName,
SoyFileSupplier.Version version)
Retrieves a cached version of this file supplier AST, if any.
|
static SoyAstCache.VersionedFile |
SoyAstCache.VersionedFile.of(SoyFileNode file,
SoyFileSupplier.Version version) |