Trait macro_tools::orphan::syn::parse::discouraged::AnyDelimiter

source ·
pub trait AnyDelimiter {
    // Required method
    fn parse_any_delimiter(
        &self
    ) -> Result<(Delimiter, DelimSpan, ParseBuffer<'_>), Error>;
}
Expand description

Extensions to the ParseStream API to support manipulating invisible delimiters the same as if they were visible.

Required Methods§

source

fn parse_any_delimiter( &self ) -> Result<(Delimiter, DelimSpan, ParseBuffer<'_>), Error>

Returns the delimiter, the span of the delimiter token, and the nested contents for further parsing.

Implementors§