[js-api-parser] switch to use `ReviewToken.HasPrefixSpace`
Open
APIView
Javascript
- Dominant language
- C#
- Stars
- 135
- Forks
- 260
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 143
Description
There is a lot of code added to handle whitespace before a token because HasPrefixSpace was not available. This tracks simplifying the js api parser code to use HasPrefixSpace instead.
Contributor guide
Research direction
Start by locating the js-api-parser code that handles whitespace before tokens and inspect how ReviewToken.HasPrefixSpace is exposed and used. Replace the parser's custom whitespace handling with that property, then verify that token parsing behavior remains unchanged across the parser's existing checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, tooling
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100