| Package | Description |
|---|---|
| com.google.template.soy |
Root package with main API entry point and
Guice module.
|
| com.google.template.soy.sharedpasses |
Compiler passes shared between multiple backends or between frontend and backend.
|
| com.google.template.soy.soyparse |
Parser for Soy files and templates.
|
| com.google.template.soy.soytree |
Soy parse tree.
|
| com.google.template.soy.types |
Classes that represent Soy parameter type declarations.
|
| com.google.template.soy.types.parse |
Parser for Soy type expressions.
|
| Modifier and Type | Method and Description |
|---|---|
SoyFileSet.Builder |
SoyFileSet.Builder.setLocalTypeRegistry(SoyTypeRegistry typeRegistry)
Override the global type registry with one that is local to this file set.
|
| Constructor and Description |
|---|
SoyFileSetParser(SoyTypeRegistry typeRegistry,
SoyAstCache astCache,
SyntaxVersion declaredSyntaxVersion,
List<SoyFileSupplier> soyFileSuppliers,
ErrorReporter errorReporter) |
| Constructor and Description |
|---|
ResolveExpressionTypesVisitor(SoyTypeRegistry typeRegistry,
SyntaxVersion declaredSyntaxVersion,
ErrorReporter errorReporter) |
SubstituteGlobalsVisitor(Map<String,PrimitiveData> compileTimeGlobals,
SoyTypeRegistry typeRegistry,
boolean shouldAssertNoUnboundGlobals,
ErrorReporter errorReporter) |
| Constructor and Description |
|---|
SoyFileParser(SoyTypeRegistry typeRegistry,
IdGenerator nodeIdGen,
Reader input,
SoyFileKind soyFileKind,
String filePath,
ErrorReporter errorReporter)
Constructor that takes a reader object providing the input.
|
SoyFileParser(SoyTypeRegistry typeRegistry,
IdGenerator nodeIdGen,
String input,
SoyFileKind soyFileKind,
String filePath)
Constructor that takes a string input.
|
SoyFileParser(SoyTypeRegistry typeRegistry,
IdGenerator nodeIdGen,
String input,
SoyFileKind soyFileKind,
String filePath,
ErrorReporter errorReporter)
Constructor that takes a string input.
|
| Constructor and Description |
|---|
TemplateBasicNodeBuilder(TemplateNode.SoyFileHeaderInfo soyFileHeaderInfo,
SourceLocation sourceLocation,
SoyTypeRegistry typeRegistry) |
TemplateDelegateNodeBuilder(TemplateNode.SoyFileHeaderInfo soyFileHeaderInfo,
SourceLocation sourceLocation,
SoyTypeRegistry typeRegistry) |
TemplateNodeBuilder(TemplateNode.SoyFileHeaderInfo soyFileHeaderInfo,
SourceLocation sourceLocation,
SoyTypeRegistry typeRegistry) |
| Modifier and Type | Method and Description |
|---|---|
SoyTypeRegistry |
SoyTypeOps.getTypeRegistry() |
| Modifier and Type | Method and Description |
|---|---|
SoyType |
SoyTypeProvider.getType(String typeName,
SoyTypeRegistry typeRegistry)
Given a fully-qualified name of a type, return the
SoyType
that describes this type, or null if this type provider does
not have a definition for the requested type. |
| Constructor and Description |
|---|
SoyTypeOps(SoyTypeRegistry typeRegistry) |
| Constructor and Description |
|---|
TypeParser(String input,
SoyTypeRegistry typeRegistry)
Constructor that takes a string input.
|