Safe Haskell | None |
---|
- class MakeArgRefs this where
- makeArgRefs :: this -> JSC [JSValueRef]
Documentation
class MakeArgRefs this where
Anything that can be used to make a list of JavaScript value references for use as function arguments
makeArgRefs :: this -> JSC [JSValueRef]
MakeArgRefs Bool | Makes an argument list with just a single JavaScript boolean value |
MakeArgRefs Double | Makes an argument list with just a single JavaScript number |
MakeArgRefs () | This allows us to pass no arguments easily (altenative would be to use |
MakeArgRefs Text | Makes an argument list with just a single JavaScript string |
MakeArgRefs JSValueRef | A single JSValueRef can be used as the argument list |
MakeArgRefs JSPropRef | We can pass a property as the only paramter to a function. |
MakeArgRefs JSValue | Makes an argument list with just a single JavaScript value from a |
MakeArgRefs JSNull | Makes an argument list with just a single |
MakeArgRefs JSCallAsFunction | |
MakeValueRef arg => MakeArgRefs [arg] | |
MakeArgRefs arg => MakeArgRefs (JSC arg) | |
(MakeValueRef arg1, MakeValueRef arg2) => MakeArgRefs (arg1, arg2) | |
(MakeValueRef arg1, MakeValueRef arg2, MakeValueRef arg3) => MakeArgRefs (arg1, arg2, arg3) | |
(MakeValueRef arg1, MakeValueRef arg2, MakeValueRef arg3, MakeValueRef arg4) => MakeArgRefs (arg1, arg2, arg3, arg4) | |
(MakeValueRef arg1, MakeValueRef arg2, MakeValueRef arg3, MakeValueRef arg4, MakeValueRef arg5) => MakeArgRefs (arg1, arg2, arg3, arg4, arg5) |