Lines Matching refs:acorn
3 [](https://travis-ci.org/ternj…
4 [](https://www.npmjs.com/package/acorn)
5 [](https://cdnjs.com/libraries/acorn)
13 [MIT license](https://github.com/ternjs/acorn/blob/master/LICENSE).
16 [report bugs](https://github.com/ternjs/acorn/issues) or create pull
17 requests on [github](https://github.com/ternjs/acorn). For questions
23 The easiest way to install acorn is with [`npm`][npm].
28 npm install acorn
34 git clone https://github.com/ternjs/acorn.git
43 global object `acorn` will be defined, and all the exported properties
48 This is implemented in `dist/acorn.js`, and is what you get when you
49 `require("acorn")` in node.js.
203 for (let token of acorn.tokenizer(str)) {
208 var tokens = [...acorn.tokenizer(str)];
223 var ast = acorn.parse('var x = 42; // answer', {
245 function. The loose parser is accessible in node.js via `require("acorn/dist/acorn_loose")`.
248 returns the same syntax tree as the `parse` function in `acorn.js`,
252 sense of the input. Depends on `acorn.js`, because it uses the same
258 `acorn.walk` when loaded without a module system.
310 The `bin/acorn` utility can be used to parse a file from the command
343 The `bin/build-acorn.js` script builds the latter from the former.
368 `acorn.plugins`, which holds a function. Calling `acorn.parse`, a
391 `acorn.pluginsLoose`. The extension mechanism is the same as for the
405 …- [`acorn-jsx`](https://github.com/RReverser/acorn-jsx): Parse [Facebook JSX syntax extensions](ht…
406 …- [`acorn-es7-plugin`](https://github.com/MatAtBread/acorn-es7-plugin/): Parse [async/await syntax…
407 …- [`acorn-object-spread`](https://github.com/UXtemple/acorn-object-spread): Parse [object spread s…
408 …- [`acorn-es7`](https://www.npmjs.com/package/acorn-es7): Parse [decorator syntax proposal](https:…
409 …- [`acorn-objj`](https://www.npmjs.com/package/acorn-objj): [Objective-J](http://www.cappuccino-pr…