-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
This would make using them less error-prone and allow autocompletion and such.
It does make some things that are currently allowed, such as multiple productions mapping to the same node name, problematic.
Also interfaces like NodeType.match, which map from node names (and optionally space-separated lists of them) to other values become a lot more awkward, because you'd need to import each node and put it between square brackets in the object literal, and can't list multiple types in a single property in a straightforward way anymore. ({[`${Identifier} ${Number}`]: x} doesn't really roll of the tongue).
Group names would then probably also need to become numbers, for consistency.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels