1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:37:35 +00:00

JSSpecCompiler: Parse true, false, this, undefined, and null

This commit is contained in:
Dan Klishch 2024-01-20 21:41:38 -05:00 committed by Andrew Kaster
parent 86d54a8684
commit b800276347
7 changed files with 70 additions and 3 deletions

View file

@ -134,6 +134,11 @@ protected:
class WellKnownNode : public Expression {
public:
enum Type {
False,
Null,
This,
True,
Undefined,
ZeroArgumentFunctionCall,
// Update WellKnownNode::dump_tree after adding an entry here
};