Parser
Parser copied to clipboard
Consolidate parsing of `Expr::Name` in `TypeAliasName`, `MatchName`, and `Atom<Goal>`
We have three parser descriptions for in the LALRPOP grammar for generating Expr::Name from an Identifier.
TypeAliasNameMatchNameAtom<Goal>
These could be consolidated into a single reused identifier for simplicity and clarity.
Originally posted by @MichaReiser in https://github.com/RustPython/Parser/pull/97#discussion_r1263930630
TypeAliasName may not be compatible with MatchName per https://github.com/RustPython/Parser/pull/99