| Package | Description |
|---|---|
| com.google.template.soy.html.passes | |
| com.google.template.soy.incrementaldomsrc | |
| com.google.template.soy.jssrc.internal | |
| com.google.template.soy.msgs.internal | |
| com.google.template.soy.parseinfo.passes | |
| com.google.template.soy.passes | |
| com.google.template.soy.shared |
Classes shared between multiple backends or between frontend and backend.
|
| com.google.template.soy.shared.internal | |
| com.google.template.soy.soyparse |
Parser for Soy files and templates.
|
| com.google.template.soy.soytree |
Soy parse tree.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
HtmlTransformVisitor.visitSoyFileNode(SoyFileNode node)
Visits a
SoyFileNode, making sure it has strict autoescape. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
GenIncrementalDomCodeVisitor.addCodeToRequireGeneralDeps(SoyFileNode soyFile) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
GenJsCodeVisitor.addCodeToRequireGeneralDeps(SoyFileNode soyFile)
Helper for visitSoyFileNode(SoyFileNode) to add code to require general dependencies.
|
protected void |
GenJsCodeVisitor.addCodeToRequireGoogModuleDeps(SoyFileNode soyFile)
Helper for visitSoyFileNode(SoyFileNode) to add code to require goog.module dependencies.
|
protected void |
GenJsCodeVisitor.visitSoyFileNode(SoyFileNode node)
Example:
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ExtractMsgsVisitor.visitSoyFileNode(SoyFileNode node) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
GenerateParseInfoVisitor.visitSoyFileNode(SoyFileNode node) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
CompilerFilePass.run(SoyFileNode file,
IdGenerator nodeIdGen) |
void |
PassManager.runSingleFilePasses(SoyFileNode file,
IdGenerator nodeIdGen) |
protected void |
BuildAllDependeesMapVisitor.visitSoyFileNode(SoyFileNode node) |
| Modifier and Type | Method and Description |
|---|---|
abstract SoyFileNode |
SoyAstCache.VersionedFile.file() |
| Modifier and Type | Method and Description |
|---|---|
static SoyAstCache.VersionedFile |
SoyAstCache.VersionedFile.of(SoyFileNode file,
SoyFileSupplier.Version version) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
FindCalleesNotInFileVisitor.visitSoyFileNode(SoyFileNode node) |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.collect.Multimap<String,Integer> |
MainEntryPointUtils.mapOutputsToSrcs(String locale,
String outputPathFormat,
String inputPathsPrefix,
com.google.common.collect.ImmutableList<SoyFileNode> fileNodes)
Maps output paths to indices of inputs that should be emitted to them.
|
| Modifier and Type | Method and Description |
|---|---|
SoyFileNode |
SoyFileParser.parseSoyFile()
Attempts to parse the given input as a Soy file, returns null if parsing fails.
|
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Predicate<SoyFileNode> |
SoyFileNode.MATCH_SRC_FILENODE |
| Modifier and Type | Method and Description |
|---|---|
SoyFileNode |
SoyFileNode.copy(CopyState copyState) |
SoyFileNode |
TemplateNode.getParent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractSoyNodeVisitor.visitSoyFileNode(SoyFileNode node) |
protected R |
AbstractReturningSoyNodeVisitor.visitSoyFileNode(SoyFileNode node) |