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

Scopes: Define exact scope start/end requirements for generators (in terms of JavaScript AST) #115

Closed
szuend opened this issue Jul 10, 2024 · 1 comment

Comments

@szuend
Copy link
Collaborator

szuend commented Jul 10, 2024

This came up a couple of times but we should spell out explicitly for each JavaScript language scope where we expect generated ranges to start/end. Debuggers (Firefox DevTools, Chrome DevTools) need to be able to match generated ranges to the scopes that all out of the engine.

For example, generated ranges for a JavaScript should start at the opening paren ( and end at the closing curly }. We should spell this out for all scope types in the JavaScript language.

@szuend
Copy link
Collaborator Author

szuend commented Jul 10, 2024

Duplicate of #76

@szuend szuend marked this as a duplicate of #76 Jul 10, 2024
@szuend szuend closed this as completed Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant