public class FunctionWrapperFactory
extends java.lang.Object
FunctionWrappers.| Constructor and Description |
|---|
FunctionWrapperFactory(FunctionArgumentSignatureFactory functionArgumentSignatureFactory)
Create a new factory.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<FunctionWrapper> |
compileFunctions(ImportStack importStack,
Context context,
java.util.List<?> objects)
Compile methods from all objects into libsass functions.
|
java.util.List<FunctionWrapper> |
compileFunctions(ImportStack importStack,
Context context,
java.lang.Object object)
Compile methods from an object into libsass functions.
|
FunctionDeclaration |
createDeclaration(ImportStack importStack,
Context context,
java.lang.Object object,
java.lang.reflect.Method method)
Create a function declaration from an object method.
|
public FunctionWrapperFactory(FunctionArgumentSignatureFactory functionArgumentSignatureFactory)
public java.util.List<FunctionWrapper> compileFunctions(ImportStack importStack, Context context, java.util.List<?> objects)
importStack - The import stack.objects - A list of "function provider" objects.public java.util.List<FunctionWrapper> compileFunctions(ImportStack importStack, Context context, java.lang.Object object)
importStack - The import stack.object - The "function provider" object.public FunctionDeclaration createDeclaration(ImportStack importStack, Context context, java.lang.Object object, java.lang.reflect.Method method)
importStack - The import stack.object - The object.method - The method.