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

rm-hull / jasengo / 19392372911

15 Nov 2025 04:17PM UTC coverage: 74.667%. First build
19392372911

Pull #1

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.
Pull Request #1: initial cut

168 of 225 new or added lines in 6 files covered. (74.67%)

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

0.0
/parser/error.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