fn map<F, B>(self, f: F) -> ContextFreeMap<Res, B, Self, F>
    where
        F: Fn(Res) -> B,
        Self: Sized,
    {
        ContextFreeMap::new(self, f)
    }
/// Creates a new parser that maps the result of the current parser using a
/// function.
Creates a new parser that maps the result of the current parser using a
function.
Creates a new parser that maps the result of the current parser using a function .
fn map<F, B>(self, f: F) -> ContextFreeMap<Res, B, Self, F>
    where
        F: Fn(Res) -> B,
        Self: Sized,
    {
        ContextFreeMap::new(self, f)
    }
fn map < F , B > ( self , f : F ) -> ContextFreeMap < Res , B , Self , F > where F : Fn ( Res ) -> B , Self : Sized , { ContextFreeMap :: new ( self , f ) }
Creates a new parser that maps the result of the current parser using a
function.
Creates a new parser that maps the result of the current parser using a function .
self
f
F