marijnh/acorn — pull request #6 by mishoo (2012-10-05 12:00:37+00:00)
Title: added `sourceFile` and `program` options to parse

- if `program` is given, it'll be used as the toplevel node, instead of
creating a new node, and statements will be added to its body
- if `sourceFile` is given and `locations` is on, it'll set the `source`
property in every node's `loc`.

closes #5.