Skip to content

Feature request: Add getLoc and getRange to TokenStore #250

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

Closed
fisker opened this issue Mar 4, 2025 · 1 comment · Fixed by #253
Closed

Feature request: Add getLoc and getRange to TokenStore #250

fisker opened this issue Mar 4, 2025 · 1 comment · Fixed by #253

Comments

@fisker
Copy link
Contributor

fisker commented Mar 4, 2025

ESLint added these two methods eslint/eslint#18703
Can we add them, so we don't need care if an object is TokenStore from ESLint or this parser?

@ota-meshi
Copy link
Member

Thank you for posting the issue!
That's sounds good to me.

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

Successfully merging a pull request may close this issue.

2 participants