| Package | Description |
|---|---|
| com.google.template.soy.internal.base |
Internal base libraries.
|
| com.google.template.soy.msgs.restricted | |
| com.google.template.soy.shared |
Classes shared between multiple backends or between frontend and backend.
|
| com.google.template.soy.soytree |
Soy parse tree.
|
| Modifier and Type | Method and Description |
|---|---|
static <A,B> Pair<A,B> |
Pair.of(A first,
B second)
Creates a new pair containing the given elements in order.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<Pair<SoyMsgPluralCaseSpec,com.google.common.collect.ImmutableList<SoyMsgPart>>> |
SoyMsgPluralPart.getCases()
Returns the cases.
|
com.google.common.collect.ImmutableList<Pair<String,com.google.common.collect.ImmutableList<SoyMsgPart>>> |
SoyMsgSelectPart.getCases()
Returns the cases.
|
| Constructor and Description |
|---|
SoyMsgPluralPart(String pluralVarName,
int offset,
com.google.common.collect.ImmutableList<Pair<SoyMsgPluralCaseSpec,com.google.common.collect.ImmutableList<SoyMsgPart>>> cases) |
SoyMsgSelectPart(String selectVarName,
com.google.common.collect.ImmutableList<Pair<String,com.google.common.collect.ImmutableList<SoyMsgPart>>> cases) |
| 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 |
|---|---|
protected static Pair<Boolean,ExprRootNode> |
CallNode.parseDataAttributeHelper(String dataAttr,
SourceLocation sourceLocation,
ErrorReporter errorReporter)
Private helper function for subclass constructors to parse the 'data' attribute.
|