| Package | Description |
|---|---|
| com.google.template.soy |
Root package with main API entry point and
Guice module.
|
| com.google.template.soy.error | |
| com.google.template.soy.exprparse |
Parser for Soy expressions.
|
| com.google.template.soy.soytree |
Soy parse tree.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ErrorReporterImpl.report(SourceLocation sourceLocation,
SoyErrorKind error,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
abstract SoyErrorKind |
SoyError.errorKind()
The error kind.
|
static SoyErrorKind |
SoyErrorKind.of(String format) |
| Modifier and Type | Method and Description |
|---|---|
SoyError |
SoyError.Factory.create(SourceLocation location,
SoyErrorKind kind,
Object... args) |
SoyError |
PrettyErrorFactory.create(SourceLocation location,
SoyErrorKind kind,
Object... args) |
void |
FormattingErrorReporter.report(SourceLocation sourceLocation,
SoyErrorKind error,
Object... args) |
void |
ExplodingErrorReporter.report(SourceLocation sourceLocation,
SoyErrorKind error,
Object... args) |
void |
ErrorReporter.report(SourceLocation sourceLocation,
SoyErrorKind error,
Object... args)
Reports the given
error, formatted according to args and associated with
the given sourceLocation. |
| Modifier and Type | Field and Description |
|---|---|
static SoyErrorKind |
ExpressionParser.INVALID_EXPRESSION_LIST |
static SoyErrorKind |
ExpressionParser.INVALID_VAR_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
SoyParsingContext.report(SourceLocation sourceLocation,
SoyErrorKind error,
Object... args)
Reports the given
error, formatted according to args and associated with
the given sourceLocation. |
| Modifier and Type | Field and Description |
|---|---|
static SoyErrorKind |
CallBasicNode.BAD_CALLEE_NAME |
static SoyErrorKind |
LetNode.INVALID_COMMAND_TEXT |
static SoyErrorKind |
CallDelegateNode.INVALID_DELEGATE_NAME |
static SoyErrorKind |
CommandTextAttributesParser.MALFORMED_ATTRIBUTES |
static SoyErrorKind |
CallBasicNode.MISSING_CALLEE_NAME |
static SoyErrorKind |
LetContentNode.NON_SELF_ENDING_WITH_VALUE |
static SoyErrorKind |
LetValueNode.SELF_ENDING_WITHOUT_VALUE |
static SoyErrorKind |
CommandTextAttributesParser.UNSUPPORTED_ATTRIBUTE |