Closed rwaldron closed 4 years ago
Oops, what I really want here is IdentifierPart+, since _ forms the initial character of the identifier. This needs a grammar change.
What is "IdentifierPart+"?
I meant the RegExp meaning of +: one or more IdentifierPart characters; sorry just being sloppy. The key thing is that the first thing after the doesn't have to be an IdentifierStart, it can be any IdentifierPart, since is part of the identifier.
The spec is removed and this text is gone, so closing.
This is IdentifierPart:
IdentifierPart
\
::
UnicodeIDContinue$
_
\
UnicodeEscapeSequence \I believe you want Identifier or IdentifierName, depending on whether you want to restrict ReservedWord.