Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal: reorder
ParsedNodeKind
for range checks (#907)
## Summary Reorder `ParsedNodeKind` for range checks, and added named sets to support querying parsed node kinds. ## Details Reorder `ParsedNodeKind` in order to support ranges over similar kinds. This is considered experimental as the motivation for the reodering came from usage in `suggest` (a consumer). The ordering should be determined by the `parser` (the producer). Creating these seemingly convenient consumer/read side ranges end up quietly coupling the producer and consumer(s). Which results in refactorings to a small collection of parser modules spilling out to changes in various consumer locations. In this case these might coincide with the parser's needs, as well. Additionally, added `pnkDeclarativeDefs` and `pnkRoutineDefs` similar to `PNode`'s kind, `TNodeKind`. --------- Co-authored-by: Saem Ghani <[email protected]>
- Loading branch information