| Package | Description |
|---|---|
| com.google.template.soy |
Root package with main API entry point and
Guice module.
|
| com.google.template.soy.passes | |
| 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.
|
| com.google.template.soy.types.proto |
| Modifier and Type | Method and Description |
|---|---|
SoyFileSet |
SoyFileSet.SoyFileSetFactory.create(com.google.common.collect.ImmutableMap<String,SoyFileSupplier> soyFileSuppliers,
SoyAstCache cache,
SoyGeneralOptions options,
SoyTypeRegistry localTypeRegistry) |
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,
com.google.common.collect.ImmutableMap<String,? extends SoyFileSupplier> soyFileSuppliers,
PassManager passManager,
ErrorReporter errorReporter) |
| Modifier and Type | Method and Description |
|---|---|
PassManager.Builder |
PassManager.Builder.setTypeRegistry(SoyTypeRegistry registry) |
| 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.
|
| Constructor and Description |
|---|
TemplateBasicNodeBuilder(TemplateNode.SoyFileHeaderInfo soyFileHeaderInfo,
SourceLocation sourceLocation,
ErrorReporter errorReporter,
SoyTypeRegistry typeRegistry) |
TemplateDelegateNodeBuilder(TemplateNode.SoyFileHeaderInfo soyFileHeaderInfo,
SourceLocation sourceLocation,
ErrorReporter errorReporter,
SoyTypeRegistry typeRegistry) |
TemplateNodeBuilder(TemplateNode.SoyFileHeaderInfo soyFileHeaderInfo,
SourceLocation sourceLocation,
ErrorReporter errorReporter,
SoyTypeRegistry typeRegistry) |
| Modifier and Type | Field and Description |
|---|---|
static SoyTypeRegistry |
SoyTypeRegistry.DEFAULT_UNKNOWN
A type registry that defaults all unknown types to the 'unknown' type.
|
| 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,
SourceLocation sourceLocation,
SoyTypeRegistry typeRegistry)
Constructor that takes a string input.
|
| Modifier and Type | Method and Description |
|---|---|
SoyType |
SoyProtoTypeProvider.getType(String name,
SoyTypeRegistry typeRegistry) |
| Constructor and Description |
|---|
SoyProtoTypeImpl(SoyTypeRegistry typeRegistry,
com.google.protobuf.Descriptors.Descriptor descriptor,
Set<com.google.protobuf.Descriptors.FieldDescriptor> extensions) |