ratel-core icon indicating copy to clipboard operation
ratel-core copied to clipboard

Missing tokens

Open maciejhirsz opened this issue 7 years ago • 0 comments

Apparently we are missing following tokens:

  • ~&&= should be OperatorLogicalAndAssign~*
  • ~||= should be OperatorLogicalOrAssign~*
  • # ? proposed use for private fields
  • @ ? proposed use for decorators
  • :: should be OperatorBind
  • .. ? E4X specific, not sure if we even need it

Editing the enum will require altering all lookup tables, which is a bit of a chore.

* - those are apparently invalid in ECMAScript, some parsers recognize them internally as tokens but don't parse them.

maciejhirsz avatar Jun 05 '18 13:06 maciejhirsz