public interface SoyTofuPrintDirective extends SoyPrintDirective
Important: This may only be used in implementing print directive plugins.
Consider also implementing
SoyJavaRuntimePrintDirective
. The
apply()
method in SoyJavaRuntimePrintDirective
should be exactly the same as the
applyForTofu()
method of this interface, but can be used outside of the Tofu backend by
optimization passes. The easiest way to implement both interfaces at once is to subclass
SoyAbstractTofuPrintDirective
.
Modifier and Type | Method and Description |
---|---|
SoyData |
applyForTofu(SoyData value,
List<SoyData> args)
Applies this directive on the given value.
|
getName, getValidArgsSizes, shouldCancelAutoescape