fn extract_args(args: &Arguments, imports: &[String]) -> Result<Vec<ArgInfo>>
Extract arguments from function definition