| 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 |
StableSoyFileSupplier.getVersion() |
SoyFileSupplier.Version |
VolatileSoyFileSupplier.getVersion() |
SoyFileSupplier.Version |
SoyFileSupplier.getVersion()
Returns the version of the Soy file read.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
StableSoyFileSupplier.hasChangedSince(SoyFileSupplier.Version version) |
boolean |
VolatileSoyFileSupplier.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 |
|---|---|
Pair<SoyFileNode,SoyFileSupplier.Version> |
SoyAstCache.get(SoyFileSupplier supplier)
Retrieves a cached version of this file supplier AST, if any.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SoyAstCache.put(SoyFileSupplier supplier,
SoyFileSupplier.Version version,
SoyFileNode node)
Stores a cached version of the AST.
|