Expand description
JoinWith is a Generator that joins a list of Generators with the specified Generator as the delimiter. In the case of the only one Generator being specified in the list no delimiter will be added. This is particularly useful when attempting to match tokens or desiring that be a separator (eg. some whitespace) between them. In that case this should be used instead of Sequence so specify the sequence of tokens for a rule.
Fields§
§generators: Vec<Box<dyn Generator>>
§delimiter: Box<dyn Generator>