Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for splitting a Pointer by Token position (index) #42

Open
chanced opened this issue Jun 20, 2024 · 1 comment
Open

Allow for splitting a Pointer by Token position (index) #42

chanced opened this issue Jun 20, 2024 · 1 comment

Comments

@chanced
Copy link
Owner

chanced commented Jun 20, 2024

Per our discussion, we need a way to index a token. With the index, at minimum, we need to be able to split a pointer at it, retrieve the token, and expose it via an iterator.

Once created, AssignError, ResolveError, and DeleteError need to be updated to include it, replacing offset.

/foo/bar/baz
↑   ↑   ↑
0   1   2
@chanced
Copy link
Owner Author

chanced commented Jun 21, 2024

Alternatively, we just continue to use the offsets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant