New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update JS/TS lexer #1781
Labels
Comments
Anteru
added
help wanted
Community help appreciated!
A-lexing
area: changes to individual lexers
labels
Apr 20, 2021
What's the rationale for |
According to MDN and https://tc39.es/ecma262, |
I also have a question, should the |
Thanks for the quick reply -- |
(#1814) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
The JavaScript (and TypeScript lexer) should be updated :
Error
,EvalError
,InternalError
,RangeError
,ReferenceError
,SyntaxError
,TypeError
,URIError
) asName.Exception
?global
object (Name.Builtin
, Node.js)Name.Builtin
(such as typed arrays,Intl
,DataView
,Set
,Map
,WeakSet
,WeakMap
,Reflect
,JSON
,ArrayBuffer
,Atomics
) ?\\...
,\n
,\r
,\v
,\t
,\b
,\f
,\uXXXX
(U+0000 - U+FFFF),\xXX
(0x00 - 0xFF) asString.Escape
(same as Python lexer)**
,**=
,??
,&&=
,||=
,??=
asOperator
typeof
,instanceof
,in
,void
,delete
,new
asOperator.Word
function*
,yield*
), others ?d
regex's flagOriginally posted by @Mesteery in #1741 (comment)
The text was updated successfully, but these errors were encountered: