pub trait ConstructOp<'a, C>where
Self: Sized,
C: Context<'a> + Match<C>,{
Show 17 methods
// Required methods
fn map<F, O>(self, f: F) -> Map<C, Self, F, O>;
fn pat(self) -> Pattern<C, Self>;
fn opt(self) -> OptionPat<C, Self>;
fn quote<L, R>(self, left: L, right: R) -> Quote<C, Self, L, R>;
fn sep<S>(self, sep: S) -> Separate<C, Self, S>;
fn sep_once<S, R>(self, sep: S, right: R) -> SepOnce<C, Self, S, R>;
fn sep_collect<S, O, V>(self, sep: S) -> SepCollect<C, Self, S, O, V>;
fn or<P>(self, pat: P) -> Or<C, Self, P>;
fn ltm<P>(self, pat: P) -> LongestTokenMatch<C, Self, P>;
fn then<T>(self, then: T) -> Then<C, Self, T>;
fn if_then<I, T>(self, if: I, then: T) -> IfThen<C, Self, I, T>;
fn repeat(self, range: impl Into<CRange<usize>>) -> Repeat<C, Self>;
fn collect<O, T>(self) -> Collect<C, Self, O, T>;
fn if<I, E>(self, if: I, else: E) -> IfRegex<C, Self, I, E>
where I: Fn(&C) -> Result<bool, Error>;
fn pad<T>(self, tail: T) -> Pad<C, Self, T>;
fn padded<T>(self, tail: T) -> Padded<C, Self, T>;
fn ws(
self
) -> Pad<C, Self, NeureZeroMore<C, AsciiWhiteSpace, C::Item, NullCond>>
where C: Context<'a, Item = char>;
}