Description

ParseFunction parses a given parameter list and body as a function and returns the corresponding ast.FunctionLiteral node.

The parameter list, if any, should be a comma-separated list of identifiers.

ParseFunction is referenced in 2 repositories

github.com/robertkrimen/otto

...