|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.template.soy.tofu.restricted.SoyAbstractTofuFunction
org.plovr.soy.function.SubstringFunction
public class SubstringFunction
From "Defining a Custom Function" in "Closure: The Definitive Guide"
| Method Summary | |
|---|---|
SoyData |
compute(java.util.List<SoyData> args)
|
JsExpr |
computeForJsSrc(java.util.List<JsExpr> args)
|
java.lang.String |
getName()
|
java.util.Set<java.lang.Integer> |
getValidArgsSizes()
|
| Methods inherited from class com.google.template.soy.tofu.restricted.SoyAbstractTofuFunction |
|---|
computeForTofu |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.template.soy.tofu.restricted.SoyTofuFunction |
|---|
computeForTofu |
| Method Detail |
|---|
public java.lang.String getName()
getName in interface SoyFunctionpublic java.util.Set<java.lang.Integer> getValidArgsSizes()
getValidArgsSizes in interface SoyFunctionpublic JsExpr computeForJsSrc(java.util.List<JsExpr> args)
computeForJsSrc in interface SoyJsSrcFunctionpublic SoyData compute(java.util.List<SoyData> args)
compute in interface SoyJavaRuntimeFunction
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||