Package io.bit3.jsass.function
Class FunctionWrapper
java.lang.Object
io.bit3.jsass.function.FunctionWrapper
public class FunctionWrapper
extends java.lang.Object
Wraps a java function as libsass function and pass the arguments through.
-
Constructor Summary
Constructors Constructor Description FunctionWrapper(FunctionDeclaration declaration)
Create a new wrapper for the given function. -
Method Summary
Modifier and Type Method Description SassValue
apply(SassValue value)
Call the function.FunctionDeclaration
getDeclaration()
-
Constructor Details
-
FunctionWrapper
Create a new wrapper for the given function.- Parameters:
declaration
- The function declaration.
-
-
Method Details
-
getDeclaration
-
apply
Call the function.
-