[][src]Function kul_core::premade::inmem::parser

pub fn parser<'input, 'alloc, 'funs, 'bind, Extra, CombinerError>(
    alloc_from: DatumSlice<'input, 'alloc, Extra>,
    bind_pairs: BindingsSlice<'input, 'alloc, 'funs, 'bind, Extra, CombinerError>
) -> Parser<'input, 'alloc, 'funs, 'bind, Extra, CombinerError> where
    Extra: Eq

Make a new Parser that uses the given DatumSlice and BindingsSlice values for the DatumAllocator and OperatorBindings and that uses the types chosen by this module.

You may call the returned Parser's parse method and use the ParseIter values however you can.