@Singleton public final class CeilingFunction extends Object implements SoyJavaFunction, SoyJsSrcFunction, SoyPySrcFunction
| Modifier and Type | Method and Description |
|---|---|
static IntegerData |
ceil(SoyValue arg)
Returns the smallest (closest to negative infinity) integer value that is greater than or equal
to the argument.
|
SoyValue |
computeForJava(List<SoyValue> args)
Computes this function on the given arguments.
|
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.
|
String |
getName()
Gets the name of the Soy function.
|
Set<Integer> |
getValidArgsSizes()
Gets the set of valid args list sizes.
|
public String getName()
SoyFunctiongetName in interface SoyFunctionpublic Set<Integer> getValidArgsSizes()
SoyFunctiongetValidArgsSizes in interface SoyFunctionpublic SoyValue computeForJava(List<SoyValue> args)
SoyJavaFunctioncomputeForJava in interface SoyJavaFunctionargs - The function arguments.public static IntegerData ceil(SoyValue arg)
public JsExpr computeForJsSrc(List<JsExpr> args)
SoyJsSrcFunctioncomputeForJsSrc in interface SoyJsSrcFunctionargs - The function arguments.public PyExpr computeForPySrc(List<PyExpr> args)
SoyPySrcFunctioncomputeForPySrc in interface SoyPySrcFunctionargs - The function arguments.