mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-22 09:18:55 +00:00
JSSpecCompiler: Parse true, false, this, undefined, and null
This commit is contained in:
parent
86d54a8684
commit
b800276347
Notes:
sideshowbarker
2024-07-16 21:45:42 +09:00
Author: https://github.com/DanShaders
Commit: b800276347
Pull-request: https://github.com/SerenityOS/serenity/pull/23123
Reviewed-by: https://github.com/ADKaster ✅
7 changed files with 70 additions and 3 deletions
|
@ -27,3 +27,22 @@ TreeList
|
|||
Var d
|
||||
Var e
|
||||
|
||||
WellKnownConstants(a):
|
||||
TreeList
|
||||
IfElseIfChain
|
||||
IsOneOf
|
||||
Var a
|
||||
WellKnownNode Undefined
|
||||
TreeList
|
||||
BinaryOperation Assignment
|
||||
Var b
|
||||
WellKnownNode Null
|
||||
ReturnNode
|
||||
WellKnownNode True
|
||||
TreeList
|
||||
BinaryOperation Assignment
|
||||
Var c
|
||||
WellKnownNode This
|
||||
ReturnNode
|
||||
WellKnownNode False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue