Expand description
Groups are a way to group tokens together. They are used to represent the contents between
(), {}, [] or no delimiters at all. This module provides parser implementations for
opaque group types with defined delimiters and the GroupContaining types that parses the
surrounding delimiters and content of a group type.
Structs§
- Brace
Group - A opaque group of tokens within a Brace
- Brace
Group Containing - Parseable content within a Brace
- Bracket
Group - A opaque group of tokens within a Bracket
- Bracket
Group Containing - Parseable content within a Bracket
- Group
Containing - Any kind of Group
Gwith parseable contentC. The contentCmust parse exhaustive, anEndOfStreamis automatically implied. - None
Group - A opaque group of tokens within a None
- None
Group Containing - Parseable content within a None
- Parenthesis
Group - A opaque group of tokens within a Parenthesis
- Parenthesis
Group Containing - Parseable content within a Parenthesis
Enums§
- Delimiter
- Describes how a sequence of token trees is delimited.
Traits§
- Group
Delimiter - Access to the surrounding
Delimiterof aGroupContainingand its variants.