pub const fn punctuated<T: TokenTreeExt, M: Parser<T>, D: Parser<T>>(
main: M,
delim: D,
) -> PunctuatedParser<T, M, D>Expand description
Create a new parser for parsing things with main punctuated by delim.
Convenience function for calling PunctuatedParser::new.