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