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
Feature which enables an adapter-function to call out to a Nom parser.
impl<'a, I: 'a> Input<'a, I> { // ... fn nom_parser<T, E, F>(self, F) -> ParseResult<'a, I, T, E> where F: FnOnce(&'a [I]) -> nom::IResult<&'a [I], T, E>; }
Use a closure if extra parameters need to be passed to the Nom parser.
Also needs to support an error type allowing for both Nom's Err type as well as Chomp's parsers::Error.
Err
parsers::Error
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature which enables an adapter-function to call out to a Nom parser.
Use a closure if extra parameters need to be passed to the Nom parser.
Also needs to support an error type allowing for both Nom's
Err
type as well as Chomp'sparsers::Error
.The text was updated successfully, but these errors were encountered: