parseAtom

fnPattern[] parseAtom(Tokens tokens, ref Option[] options)

Parses a single atom from the token stream.

An atom is the smallest unit: an option, argument, command, or grouped expression.

Parameters

tokensThe token stream to parse from.
optionsThe list of known options (may be modified).

Returns

An array containing the parsed pattern(s).