-
there is some weird bug on Esprima itself related to RegExp and running it on the browser.
Paste jQuery 1.7.2 here http://esprima.org/demo/parse.html and check the "tokens" tab, the tokens inside th…
-
since they might be useful for plugins and other tools that manipulate the AST.
-
With the changes introduced in d5a34c1 a statement like
``` js
x = 3;
```
when evaluated in a workspace throws an error if `x` is not defined.
rksm updated
10 years ago
-
### Format an AST
At the moment the `format` function only accepts a string.
It would be nice to support a rocambole AST. In my use case, I use rocambole to fetch the AST with all those extra tokens,…
-
When invoked after a pipe, esformatter seems to work fine. However, invoking the help message via -h or --help causes it to hang and the prompt does not return. Installed esformatter via npm install -…
-
right now I remove trailing whitespace and indentation before processing the tokens (using RegExp) I think a better approach would be to convert the simple `WhiteSpace` tokens that are at the start of…
-
I've been trying for a while now to add a config option to add more whitespace inside parenthesis, specifically for rather generic expressions. These appear on ExpressionStatements and sometimes Binar…
-
The optimizer works for minified and unminifed code.
But after optimization the code outputed does not respect the original code format.
This is because we are using escodegen which seems to have som…
-
It takes forever to instrument jQuery 1.8.3 (+9K LOC)
```
esprima.parse() : 1209ms
instrumentTokens : 4472ms
instrumentNodes : 162800ms
TOTAL : 168482ms (aka. forever)
```
this makes ro…
-
did a "quick" (not as quick as I expected) test using jQuery 1.8.3 and it takes forever to process the file.
half of the reason is because rocambole is too slow (see millermedeiros/rocambole#4), the …