Important: This may only be used in implementing function plugins.
Consider also implementing {@link com.google.template.soy.shared.restricted.SoyJavaRuntimeFunction}. The {@code compute()}method in {@code SoyJavaRuntimeFunction} should be exactly the same as the{@code computeForTofu()} 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 SoyAbstractTofuFunction}. @see SoyAbstractTofuFunction @see com.google.template.soy.shared.restricted.SoyJavaRuntimeFunction @author Kai Huang
|
|