mysticatea / regexpp

The regular expression parser for ECMAScript.
MIT License
153 stars 15 forks source link

RegExpVisitor class is not exported #12

Open bd82 opened 4 years ago

bd82 commented 4 years ago

Hello and thanks for this library 👍

It seems the RegExp visitor class is not exported at runtime. However the documentation seems to imply it is.

https://github.com/mysticatea/regexpp/blob/4bcab0b82c2a384d2c45f46e804a46912eb17ad5/src/index.ts#L1-L6

I need the class itself to be exposed in order to modify the traversal, e.g:

Cheers. Shahar.

connor4312 commented 3 years ago

👍 would love to see this. In VS Code we cannot import submodules, so I republished a version with this fix for now.

MichaelDeBoey commented 1 year ago

Hi @bd82!

Since this repo is unmaintained, you might want to re-open this issue in the @eslint-community fork https://github.com/eslint-community/regexpp

For more info about why we created this organization, you can read https://eslint.org/blog/2023/03/announcing-eslint-community-org