Module group

Module group 

Source
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§

BraceGroup
A opaque group of tokens within a Brace
BraceGroupContaining
Parseable content within a Brace
BracketGroup
A opaque group of tokens within a Bracket
BracketGroupContaining
Parseable content within a Bracket
GroupContaining
Any kind of Group G with parseable content C. The content C must parse exhaustive, an EndOfStream is automatically implied.
NoneGroup
A opaque group of tokens within a None
NoneGroupContaining
Parseable content within a None
ParenthesisGroup
A opaque group of tokens within a Parenthesis
ParenthesisGroupContaining
Parseable content within a Parenthesis

Enums§

Delimiter
Describes how a sequence of token trees is delimited.

Traits§

GroupDelimiter
Access to the surrounding Delimiter of a GroupContaining and its variants.