Files
lambda/pkg/token/parse.go
M.V. Hutz b1fef85d60 refactor: simplify iterator.Try and remove unnecessary backtracking
Simplify Try to save/restore the index directly instead of
copying and syncing the entire iterator. Remove the now-unused
Copy and Sync methods.

Rewrite ScanRune and ParseRawToken as peek-then-advance so they
no longer need Try at all. Remove redundant Try wrappers from
parse functions that are already disambiguated by their callers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 20:04:07 -05:00

1.2 KiB