(require("extractFunctionCalls"))(value, testopt) → {Array.<Object>}
Extract all or some function calls from a string
Parameters:
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
value |
string | The value to extract function calls from.
Note that this will also extract nested function calls, you can use |
|||||||||||||
test |
Object |
<optional> |
Properties
|
- Source:
Returns:
Array of objects, one for each function call with {name, args, pos}
keys
- Type
- Array.<Object>