# AnyDelimiter in syn::parse::discouraged - Rust
Extensions to the `ParseStream` API to support manipulating invisible delimiters the same as if they were visible.

syn::parse::discouraged

# Trait AnyDelimiter

Source

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

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<'_>)>

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

## Implementors§

Source §

### impl<'a> AnyDelimiter for ParseBuffer<'a>