We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sedlexing.lexbuf
The current Asai api only supports Lexing.lexbuf
Lexing.lexbuf
val of_lexbuf : ?source:source -> Lexing.lexbuf -> t
I expect there can have another API for Sedlexing.lexbuf
The text was updated successfully, but these errors were encountered:
@dannypsnl I believe you can get what you want by composing Asai.Range.of_lex_range and Sedlexing.lexing_bytes_positions. I'm a bit reluctant to add more dependencies if this composition solves the problem.
Sorry, something went wrong.
Maybe this should be included in the tutorial, though.
@favonia Yes, I found that solution after I jump into Sedlex's code, it would be nice that document describe this, thanks!
Sedlex
Successfully merging a pull request may close this issue.
The current Asai api only supports
Lexing.lexbuf
I expect there can have another API for
Sedlexing.lexbuf
The text was updated successfully, but these errors were encountered: