Skip to content

refactor: record indented code mappings during parsing - #137

Merged
luojiyin1987 merged 1 commit into
masterfrom
refactor/parser-owned-indented-code-map
Sep 28, 2026
Merged

luojiyin1987 merged 1 commit into
masterfrom
refactor/parser-owned-indented-code-map

Conversation

@luojiyin1987

Copy link
Copy Markdown
Contributor

Summary

  • record indented code mappings from parser events
  • share code value segment recording with fenced code
  • mirror the standard codeIndented AST handlers
  • remove the post-parse code mapping fallback
  • delete code-segments.ts
  • remove the obsolete fallback microbenchmark

Tests

  • pnpm run lint
  • pnpm run build
  • pnpm run test
  • node scripts/bench-source-map.mjs --smoke
  • node scripts/bench-parse.mjs --smoke

@luojiyin1987
luojiyin1987 merged commit c6733dd into master Sep 28, 2026
14 checks passed
@luojiyin1987
luojiyin1987 deleted the refactor/parser-owned-indented-code-map branch September 28, 2026 07:42
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 this pull request may close these issues.

1 participant