Highlighting nodes doesn't work well for recast
- Dominant language
- JavaScript
- Stars
- 6.5k
- Forks
- 772
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
With the new highlighting logic, tokens within the location information are highlighted, which is not useful.
**To Reproduce**
Steps to reproduce the behavior:
1. Select recast as parser
2. Select esprima in its settings
3. Click anywhere in the code
**Expected behavior**
The corresponding AST node should be highlighted.
**Screenshots**

---
For highlighting purposes we probably should not descent into location information nodes.
This can be easily mitigated for now by selecting "Hide location information".
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.