parseAtom
Parses a single atom from the token stream.
An atom is the smallest unit: an option, argument, command, or grouped expression.
Parameters
tokens | The token stream to parse from. |
options | The list of known options (may be modified). |
Returns
An array containing the parsed pattern(s).