| Package | Description |
|---|---|
| com.google.template.soy.basicdirectives |
Plugin package for basic print directives.
|
| com.google.template.soy.basicfunctions |
Plugin package for basic functions.
|
| com.google.template.soy.coredirectives |
Plugin package for core print directives.
|
| com.google.template.soy.jbcsrc.restricted |
| Modifier and Type | Method and Description |
|---|---|
SoyExpression |
BasicEscapeDirective.applyForJbcSrc(JbcSrcPluginContext context,
SoyExpression value,
List<SoyExpression> args) |
| Modifier and Type | Method and Description |
|---|---|
SoyExpression |
BasicEscapeDirective.applyForJbcSrc(JbcSrcPluginContext context,
SoyExpression value,
List<SoyExpression> args) |
| Modifier and Type | Method and Description |
|---|---|
SoyExpression |
BasicEscapeDirective.applyForJbcSrc(JbcSrcPluginContext context,
SoyExpression value,
List<SoyExpression> args) |
SoyJbcSrcPrintDirective.Streamable.AppendableAndOptions |
BasicEscapeDirective.applyForJbcSrcStreaming(JbcSrcPluginContext context,
Expression delegateAppendable,
List<SoyExpression> args)
Default implementation for
Streamable. |
| Modifier and Type | Method and Description |
|---|---|
SoyExpression |
EscapeHtmlDirective.applyForJbcSrc(JbcSrcPluginContext context,
SoyExpression value,
List<SoyExpression> args) |
SoyExpression |
IdDirective.applyForJbcSrc(JbcSrcPluginContext context,
SoyExpression value,
List<SoyExpression> args) |
SoyExpression |
NoAutoescapeDirective.applyForJbcSrc(JbcSrcPluginContext context,
SoyExpression value,
List<SoyExpression> args) |
| Modifier and Type | Method and Description |
|---|---|
SoyExpression |
EscapeHtmlDirective.applyForJbcSrc(JbcSrcPluginContext context,
SoyExpression value,
List<SoyExpression> args) |
SoyExpression |
IdDirective.applyForJbcSrc(JbcSrcPluginContext context,
SoyExpression value,
List<SoyExpression> args) |
SoyExpression |
NoAutoescapeDirective.applyForJbcSrc(JbcSrcPluginContext context,
SoyExpression value,
List<SoyExpression> args) |
| Modifier and Type | Field and Description |
|---|---|
static SoyExpression |
SoyExpression.FALSE |
static SoyExpression |
SoyExpression.NULL |
static SoyExpression |
SoyExpression.NULL_BOXED |
static SoyExpression |
SoyExpression.TRUE |
| Modifier and Type | Method and Description |
|---|---|
SoyExpression |
SoyJbcSrcPrintDirective.applyForJbcSrc(JbcSrcPluginContext context,
SoyExpression value,
List<SoyExpression> args)
Applies this directive on the given value.
|
SoyExpression |
SoyExpression.asCheap() |
SoyExpression |
SoyExpression.asNonNullable() |
SoyExpression |
SoyExpression.asNullable() |
SoyExpression |
SoyExpression.box()
Returns a SoyExpression that evaluates to a subtype of
SoyValue. |
SoyExpression |
SoyExpression.coerceToBoolean()
Coerce this expression to a boolean value.
|
SoyExpression |
SoyExpression.coerceToDouble()
Coerce this expression to a double value.
|
SoyExpression |
SoyExpression.coerceToString()
Coerce this expression to a string value.
|
SoyExpression |
SoyJbcSrcFunction.computeForJbcSrc(JbcSrcPluginContext context,
List<SoyExpression> args)
Computes this function on the given arguments for the Jbcsrc Source backend.
|
static SoyExpression |
SoyExpression.forBool(Expression delegate) |
static SoyExpression |
SoyExpression.forFloat(Expression delegate) |
static SoyExpression |
SoyExpression.forInt(Expression delegate) |
static SoyExpression |
SoyExpression.forLegacyObjectMap(LegacyObjectMapType mapType,
Expression delegate) |
static SoyExpression |
SoyExpression.forList(ListType listType,
Expression delegate) |
static SoyExpression |
SoyExpression.forMap(MapType mapType,
Expression delegate) |
static SoyExpression |
SoyExpression.forProto(SoyRuntimeType type,
Expression delegate) |
static SoyExpression |
SoyExpression.forSanitizedString(Expression delegate,
SanitizedContentKind kind) |
static SoyExpression |
SoyExpression.forSoyValue(SoyType type,
Expression delegate) |
static SoyExpression |
SoyExpression.forString(Expression delegate) |
SoyExpression |
SoyExpression.labelEnd(org.objectweb.asm.Label label) |
SoyExpression |
SoyExpression.labelStart(org.objectweb.asm.Label label) |
SoyExpression |
SoyExpression.unboxAs(Class<?> asType)
Unboxes this to a
SoyExpression with a runtime type of asType. |
SoyExpression |
SoyExpression.withSource(Expression expr)
Returns a new
SoyExpression with the same type but a new delegate expression. |
SoyExpression |
SoyExpression.withSourceLocation(SourceLocation location) |
| Modifier and Type | Method and Description |
|---|---|
SoyExpression |
SoyJbcSrcPrintDirective.applyForJbcSrc(JbcSrcPluginContext context,
SoyExpression value,
List<SoyExpression> args)
Applies this directive on the given value.
|
static Expression |
BytecodeUtils.compareSoyEquals(SoyExpression left,
SoyExpression right)
Compares two
SoyExpressions for equality using soy == semantics. |
| Modifier and Type | Method and Description |
|---|---|
SoyExpression |
SoyJbcSrcPrintDirective.applyForJbcSrc(JbcSrcPluginContext context,
SoyExpression value,
List<SoyExpression> args)
Applies this directive on the given value.
|
SoyJbcSrcPrintDirective.Streamable.AppendableAndOptions |
SoyJbcSrcPrintDirective.Streamable.applyForJbcSrcStreaming(JbcSrcPluginContext context,
Expression delegateAppendable,
List<SoyExpression> args)
Applies the directive to a
LoggingAdvisingAppendable object. |
static Expression |
SoyExpression.asBoxedList(List<SoyExpression> items)
Returns an Expression that evaluates to a list containing all the items as boxed soy values.
|
SoyExpression |
SoyJbcSrcFunction.computeForJbcSrc(JbcSrcPluginContext context,
List<SoyExpression> args)
Computes this function on the given arguments for the Jbcsrc Source backend.
|