Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Peg parse location for TS type injection #1

Open
StoneCypher opened this issue Feb 2, 2020 · 0 comments
Open

Peg parse location for TS type injection #1

StoneCypher opened this issue Feb 2, 2020 · 0 comments

Comments

@StoneCypher
Copy link
Owner

there's actually several of them. it's not clear why yet

https://github.com/StoneCypher/pegjs/blob/master/lib/compiler/passes/generate-js.js#L354

https://github.com/StoneCypher/pegjs/blob/master/lib/compiler/passes/generate-js.js#L904

https://github.com/StoneCypher/pegjs/blob/master/lib/compiler/passes/generate-js.js#L945

I believe this to be the main one, and the one I need to get at if I'm not bothering with individual rule access: https://github.com/StoneCypher/pegjs/blob/master/lib/compiler/passes/generate-js.js#L1171

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant