Skip to content

Commit

Permalink
Link to ast-types in the Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jamestalmage committed Feb 25, 2015
1 parent 8cb52b3 commit 6a38dba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -40,6 +40,8 @@ var code = [
var ast = recast.parse(code);
```
Now do *whatever* you want to `ast`. Really, anything at all!

See [ast-types](https://github.com/benjamn/ast-types) (especially the [def/core.js](https://github.com/benjamn/ast-types/blob/master/def/core.js)) module for a thorough overview of the `ast` api.
```js
// Grab a reference to the function declaration we just parsed.
var add = ast.program.body[0];
Expand Down

0 comments on commit 6a38dba

Please sign in to comment.