risingwave_sqlparser::parser_v2

Trait TokenStream

source
pub trait TokenStream:
    Stream<Token = TokenWithLocation>
    + StreamIsPartial
    + Default
    + ParseV1 { }
Expand description

Bundle trait requirements from winnow, so that we don’t need to write them everywhere.

All combinators should accept a generic S that implements TokenStream.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<S> TokenStream for S
where S: Stream<Token = TokenWithLocation> + StreamIsPartial + Default + ParseV1,