Module TrailingDelimiter

Module TrailingDelimiter 

Source
Expand description

Policy for the delimiter of the last element in a sequence. Note that delimiters are after some element, for cases where you have leading delimiters you need to define grammars that start with Delimiter or Option<Delimiter>.

Structsยง

Forbidden
There must be no delimiter at the end a::b.
Mandatory
The delimiter at the end must be present a; b; c;.
Optional
The delimiter at the end is optional a, b or a, b,.