mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 23:42:17 +00:00
LibJS: Lex private identifiers, identifiers prefixed with a '#'
This commit is contained in:
parent
6b2accce31
commit
eeb42c21d1
Notes:
sideshowbarker
2024-07-18 02:08:13 +09:00
Author: https://github.com/davidot
Commit: eeb42c21d1
Pull-request: https://github.com/SerenityOS/serenity/pull/10470
Issue: https://github.com/SerenityOS/serenity/issues/7044
Issue: https://github.com/SerenityOS/serenity/issues/8574
Reviewed-by: https://github.com/linusg
2 changed files with 24 additions and 0 deletions
|
@ -117,6 +117,7 @@ constexpr const u32 ZERO_WIDTH_JOINER { 0x200D };
|
|||
__ENUMERATE_JS_TOKEN(PlusEquals, Operator) \
|
||||
__ENUMERATE_JS_TOKEN(PlusPlus, Operator) \
|
||||
__ENUMERATE_JS_TOKEN(Private, Keyword) \
|
||||
__ENUMERATE_JS_TOKEN(PrivateIdentifier, Identifier) \
|
||||
__ENUMERATE_JS_TOKEN(Protected, Keyword) \
|
||||
__ENUMERATE_JS_TOKEN(Public, Keyword) \
|
||||
__ENUMERATE_JS_TOKEN(QuestionMark, Operator) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue