Files
apk 66a54c3ea7 feat(tokenizer): add Astro .astro file format support
- Register 'astro' format with .astro extension in src/formats.ts
- Add tokenizeAstro() in src/languages/astro.ts: extracts and tokenizes
  frontmatter (typescript), <script> blocks (js/ts by lang attr), <style>
  blocks (css/scss/less by lang attr), and template (markup) independently
- Dispatch to tokenizeAstro() in createTokenMapBasedOnCode() for format 'astro'
- Add 31 tests in __tests__/astro.test.ts covering all extraction scenarios,
  line offset correctness, CRLF normalization, ReDoS guard, empty frontmatter
- Add 6 test fixture files under __tests__/fixtures/astro/
- Update formats.test.ts and tokenize.test.ts with astro coverage entries
- Add end-to-end integration fixtures in fixtures/astro/ (component1/2.astro)
2026-05-13 08:21:50 +02:00
..