RESS
RESS copied to clipboard
Punct Ident Prefix
The primary method for handling #
and @
is to support them as single character puncts and force the caller to deal with the repercussions (what we do currently).
It may make more sense to treat these as extentions to ident_start similar to the inclusion of _
and $
. The plus side here is that the caller would have less to do after tokenization, the negative is that we would be pretty tied to the proposal as it is today and if it were to change then we would have much more work to remove the code.
One possibility would be to also extend the Ident
struct to have is_decorator
and is_private
methods.