Function chumsky::primitive::custom[][src]

pub fn custom<F, E>(f: F) -> Custom<F, E>
Expand description

A parser primitive that allows you to define your own custom parsers. In theory, you shouldn’t need to use this unless you have particularly bizarre requirements.