-
-
Notifications
You must be signed in to change notification settings - Fork 224
Closed
Description
According to #331, the espree.Syntax object is supposed to contain all node types supported by Espree. But comparing it with espree.VisitorKeys, the following node types are missing:
ChainExpressionImportExpressionJSXFragmentJSXOpeningFragmentJSXClosingFragmentPrivateIdentifierPropertyDefinitionStaticBlock
ExperimentalRestProperty and ExperimentalSpreadProperty are also missing, but this might be intentional.
For sure one could derive a list of node types from the keys of VisitorKeys, but what's the purpose of the Syntax export then? Shouldn't it be used any longer?
Reactions are currently unavailable