public final class DebugSoyTemplateInfoFunction extends TypedSoyFunction implements SoyJavaFunction, SoyLibraryAssistedJsSrcFunction, SoyPySrcFunction, SoyJbcSrcFunction
This function is explicitly not registered with BasicFunctionsModule. It exists for
inspecting the Soy template information from the rendered page, and should not be used in any
templates.
| Modifier and Type | Field and Description |
|---|---|
static DebugSoyTemplateInfoFunction |
INSTANCE |
static String |
NAME |
| Modifier and Type | Method and Description |
|---|---|
SoyValue |
computeForJava(List<SoyValue> args)
Computes this function on the given arguments.
|
SoyExpression |
computeForJbcSrc(JbcSrcPluginContext context,
List<SoyExpression> args)
Computes this function on the given arguments for the Jbcsrc Source backend.
|
JsExpr |
computeForJsSrc(List<JsExpr> args)
Computes this function on the given arguments for the JS Source backend.
|
PyExpr |
computeForPySrc(List<PyExpr> args)
Computes this function on the given arguments for the Python Source backend.
|
com.google.common.collect.ImmutableSet<String> |
getRequiredJsLibNames()
Returns a list of Closure library names to require when this function is used.
|
getName, getValidArgsSizesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getValidArgsSizespublic static final String NAME
public static final DebugSoyTemplateInfoFunction INSTANCE
public SoyValue computeForJava(List<SoyValue> args)
SoyJavaFunctioncomputeForJava in interface SoyJavaFunctionargs - The function arguments.public JsExpr computeForJsSrc(List<JsExpr> args)
SoyJsSrcFunctioncomputeForJsSrc in interface SoyJsSrcFunctionargs - The function arguments.public com.google.common.collect.ImmutableSet<String> getRequiredJsLibNames()
SoyLibraryAssistedJsSrcFunctionNote: Return the raw Closure library names, Soy will wrap them in goog.require for you.
getRequiredJsLibNames in interface SoyLibraryAssistedJsSrcFunctionpublic PyExpr computeForPySrc(List<PyExpr> args)
SoyPySrcFunctioncomputeForPySrc in interface SoyPySrcFunctionargs - The function arguments.public SoyExpression computeForJbcSrc(JbcSrcPluginContext context, List<SoyExpression> args)
SoyJbcSrcFunctioncomputeForJbcSrc in interface SoyJbcSrcFunctioncontext - Contextual data for the current render operation.args - The function arguments.