[#4] Improve ergonomics of ParseContext #9

Merged
zyxw59 merged 3 commits from 4-parse-context into main 2023-08-29 00:42:25 +00:00
zyxw59 commented 2023-08-28 01:07:22 +00:00 (Migrated from github.com)

I'm a bit disappointed in how little I was able to improve this, but I think there's just enough edge cases that a simpler design isn't possible. At least merging the get_prefix and get_postfix functions makes it easier to keep the two contexts in sync with one another.

Fixes #4

I'm a bit disappointed in how little I was able to improve this, but I think there's just enough edge cases that a simpler design isn't possible. At least merging the `get_prefix` and `get_postfix` functions makes it easier to keep the two contexts in sync with one another. Fixes #4
Sign in to join this conversation.
No description provided.