Skip to content

refactor(parser): Remove Lexer lookahead from JS function parsing#11307

Merged
Boshen merged 1 commit intooxc-project:mainfrom
therewillbecode:refactor/remove-lexer-lookahead-in-js-func
May 27, 2025
Merged

refactor(parser): Remove Lexer lookahead from JS function parsing#11307
Boshen merged 1 commit intooxc-project:mainfrom
therewillbecode:refactor/remove-lexer-lookahead-in-js-func

Conversation

@therewillbecode
Copy link
Contributor

Part of #11194 .

Removes usage of lexer lookahead methods in favor of using the parser lookaheads for parsing functions.

@graphite-app
Copy link
Contributor

graphite-app bot commented May 26, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@github-actions github-actions bot added A-parser Area - Parser C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels May 26, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented May 26, 2025

CodSpeed Instrumentation Performance Report

Merging #11307 will not alter performance

Comparing therewillbecode:refactor/remove-lexer-lookahead-in-js-func (f4859ae) with main (590c27b)

Summary

✅ 38 untouched benchmarks

@Boshen Boshen merged commit 54dfbd3 into oxc-project:main May 27, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-parser Area - Parser C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants