-
When using such code:
```js
const recast = require("recast");
const {unaryExpression} = require('@babel/types');
const babel = require('@babel/parser');
const source = '(options || !options.b…
-
Seeing this error when running rename-unsafe-lifecycles:
```
Error: did not recognize object of type "ImportExpression"
at Object.getFieldNames (/Users/wes/.npm/_npx/76919/lib/node_modules/reac…
-
My characters are sometimes not casting BO or recasting BO command according to console. Most of the time my characters chicken out of game the console is reporting their life and its without BO. This…
-
Hi @SebKrantz I read your paper about collapse, https://arxiv.org/pdf/2403.05038 and here are some comments/questions that are meant to help improve the paper (as in peer review).
Section 9 (Benchm…
-
When I parse the js code:
```
function test() {
}
test()
```
Th e `start` property of the first function declaration is wrong of `recast + babel parser`:
```javascript
const { reso…
-
Currently, the `Lines` object created by `recast.parse(source, options)` knows the name of the source file that was parsed only if `options.sourceFileName` is explicitly provided.
When the parsed cod…
-
Apparently I've been doing XSLT 2.0 all wrong. You're supposed to start with an [identity template](http://www.xmlplease.com/xsltidentity) and build off of that. That's not even a little bit what I di…
-
The following assertion fails, as the parentheses are incorrectly moved by the recast printer, breaking the guaranteed identity of non-modified code:
```
const recast = require('recast');
const asser…
-
**Version (please complete the following information):**
- SRO version: [e.g. vSRO]
- RSBot version (or commit): [e.g. v2.8]
**Describe the bug**
The bot keeps recasting Dances and Guard/Mana …
-
The following test case
```
import assert from "assert";
import * as recast from "recast";
import {EOL as eol} from "os";
it("should keep unmodified function as is", function () {
const …