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

Add ParserState method to get current utf16 position #374

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Apr 16, 2024

  1. Add ParserState method to get current utf16 position

    This adds a `utf16_position` method on `ParserState`, exposing a `current_position`
    field that we compute.
    The implementation is closely following what what done to compute the utf16 column
    position.
    nchevobbe committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    f3affa9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    75ecffa View commit details
    Browse the repository at this point in the history