[][src]Function sexpy::surround

pub fn surround<'a, O1, F>(
    inner: F,
    input: &'a str
) -> IResult<&'a str, O1, VerboseError<&'a str>> where
    F: Fn(&'a str) -> IResult<&'a str, O1, VerboseError<&'a str>>, 

Create a parser that surrounds whatever inner parses with brackets or parentheses