| Package | Description |
|---|---|
| com.google.template.soy |
Root package with main API entry point and
Guice module.
|
| com.google.template.soy.incrementaldomsrc | |
| com.google.template.soy.jssrc.internal | |
| com.google.template.soy.passes | |
| com.google.template.soy.soyparse | |
| com.google.template.soy.types |
Classes that represent Soy parameter type declarations.
|
| Modifier and Type | Method and Description |
|---|---|
abstract SoyFileSetParser.Builder |
SoyFileSetParser.Builder.setTypeRegistry(SoyTypeRegistry typeRegistry) |
| Constructor and Description |
|---|
IncrementalDomSrcMain(GuiceSimpleScope apiCallScope,
SoyTypeRegistry typeRegistry) |
| Constructor and Description |
|---|
GenJsCodeVisitor(SoyJsSrcOptions jsSrcOptions,
DelTemplateNamer delTemplateNamer,
GenCallCodeUtils genCallCodeUtils,
IsComputableAsJsExprsVisitor isComputableAsJsExprsVisitor,
CanInitOutputVarVisitor canInitOutputVarVisitor,
GenJsExprsVisitor.GenJsExprsVisitorFactory genJsExprsVisitorFactory,
SoyTypeRegistry typeRegistry) |
JsSrcMain(GuiceSimpleScope apiCallScope,
SoyTypeRegistry typeRegistry) |
| Modifier and Type | Method and Description |
|---|---|
PassManager.Builder |
PassManager.Builder.setTypeRegistry(SoyTypeRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
static SoyType |
SoyFileParser.parseType(String typeText,
SoyTypeRegistry typeRegistry,
String filePath,
ErrorReporter errorReporter)
Attempts to parse the given input as a type node.
|
| Constructor and Description |
|---|
SoyFileParser(SoyTypeRegistry typeRegistry,
PluginResolver pluginResolver,
IdGenerator nodeIdGen,
Reader input,
SoyFileKind soyFileKind,
String filePath,
ErrorReporter errorReporter,
com.google.common.collect.ImmutableSet<String> experimentalFeatures)
Constructor that takes a reader object providing the input.
|
| 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 |
SoyTypeRegistry.Builder.build() |
| Modifier and Type | Method and Description |
|---|---|
static SoyType |
SoyTypes.computeLowestCommonType(SoyTypeRegistry typeRegistry,
Collection<SoyType> types)
Compute the most specific type that is assignable from all types within a collection.
|
static SoyType |
SoyTypes.computeLowestCommonType(SoyTypeRegistry typeRegistry,
SoyType t0,
SoyType t1)
Compute the most specific type that is assignable from both t0 and t1.
|
| Constructor and Description |
|---|
SoyProtoType(SoyTypeRegistry typeRegistry,
com.google.protobuf.Descriptors.Descriptor descriptor,
Set<com.google.protobuf.Descriptors.FieldDescriptor> extensions) |