tokenize_and_parse_with

Function tokenize_and_parse_with 

Source
pub(crate) fn tokenize_and_parse_with<'a, P, T, F>(
    input: &'a str,
    setup: F,
    parser: P,
) -> (Option<T>, Vec<Rich<'a, Token>>)
where F: FnMut(&mut State<'_>), P: Parser<'a, MappedInput<Token, SimpleSpan, Stream<IntoIter<(Token, SimpleSpan)>>, fn((Token, SimpleSpan)) -> (Token, SimpleSpan)>, T, Full<Rich<'a, Token>, State<'a>, ()>>,