parse function parameters as array of FunctionParameter