• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rm-hull / jasengo / 19392385222

15 Nov 2025 04:18PM UTC coverage: 74.667%. First build
19392385222

push

github

rm-hull
refactor: Track state via index, not input slice

This refactors the internal `State` management mechanism.

Previously, `State` tracked progress by slicing the input string
(`st.Input`).

Now, `State` retains the full original input string, and parsing
progress is tracked solely using `Location.Index`. This avoids
repeated string slicing and simplifies absolute location tracking.

*   Updates `State.advanceRune` to keep the full input.
*   Updates state consumers (`StringP`, `EOF`) to use the index.

4 of 5 new or added lines in 2 files covered. (80.0%)

168 of 225 relevant lines covered (74.67%)

0.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

59.52
/parser/basic.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc