Important: This may only be used in implementing print directive plugins.
Consider also implementing {@link com.google.template.soy.shared.restricted.SoyJavaRuntimePrintDirective}. The {@code apply()} method in {@code SoyJavaRuntimePrintDirective} should be exactly the same as the{@code applyForTofu()} method of this interface, but can be used outside of the Tofu backend byoptimization passes. The easiest way to implement both interfaces at once is to subclass {@link SoyAbstractTofuPrintDirective}. @see SoyAbstractTofuPrintDirective @see com.google.template.soy.shared.restricted.SoyJavaRuntimePrintDirective @author Kai Huang
|
|