shapesecurity / shift-parser-js

ECMAScript parser that produces a Shift format AST
http://shift-ast.org/parser.html
Apache License 2.0
245 stars 28 forks source link

Private method is considered illegal #458

Open Kaizer69 opened 1 year ago

Kaizer69 commented 1 year ago

Hello! When parsing a class with private fields (with hash char #), tokenizer.js throw createILLEGAL() - Unexpected "#"

I think private fields, see mozilla docs, are not yet supported?