Trait chumsky::chain::Chain

source ·
pub trait Chain<T>: Sealed<T> {
    fn len(&self) -> usize;
    fn append_to(self, v: &mut Vec<T>);
}
Expand description

A utility trait that facilitates chaining parser outputs together into Vecs.

See Parser::chain.

Required Methods§

The number of items that this chain link consists of.

Append the elements in this link to the chain.

Implementations on Foreign Types§

Implementors§