public interface SoyTofuFunction extends SoyFunction
Important: This may only be used in implementing function plugins.
Consider also implementing
SoyJavaRuntimeFunction. The compute()
method in SoyJavaRuntimeFunction should be exactly the same as the
computeForTofu() 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
SoyAbstractTofuFunction.
SoyAbstractTofuFunction,
SoyJavaRuntimeFunction| Modifier and Type | Method and Description |
|---|---|
SoyData |
computeForTofu(List<SoyData> args)
Computes this function on the given arguments for the Tofu backend.
|
getName, getValidArgsSizes