Struct nom::Map [−][src]
pub struct Map<F, G, O1> { /* fields omitted */ }
Expand description
Implementation of Parser::map
Trait Implementations
A parser takes in input type, and returns a Result
containing
either the remaining input and the output value, or an error Read more
Maps a function over the result of a parser
Creates a second parser from the output of the first one, then apply over the rest of the input
Applies a second parser over the output of the first one
Applies a second parser after the first one, return their results as a tuple
Applies a second parser over the input if the first one failed