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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SassValue
apply(SassValue value)
Call the function.FunctionDeclaration
getDeclaration()
-
-
-
Constructor Detail
-
FunctionWrapper
public FunctionWrapper(FunctionDeclaration declaration)
Create a new wrapper for the given function.- Parameters:
declaration
- The function declaration.
-
-
Method Detail
-
getDeclaration
public FunctionDeclaration getDeclaration()
-
-