mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
JSSpecCompiler: Parse "NewTarget" in xspec mode
This commit is contained in:
parent
4d8f74c149
commit
ba61b61d67
4 changed files with 5 additions and 1 deletions
|
@ -135,6 +135,7 @@ class WellKnownNode : public Expression {
|
|||
public:
|
||||
enum Type {
|
||||
False,
|
||||
NewTarget,
|
||||
Null,
|
||||
This,
|
||||
True,
|
||||
|
|
|
@ -39,6 +39,7 @@ void WellKnownNode::dump_tree(StringBuilder& builder)
|
|||
{
|
||||
static constexpr StringView type_to_name[] = {
|
||||
"False"sv,
|
||||
"NewTarget"sv,
|
||||
"Null"sv,
|
||||
"This"sv,
|
||||
"True"sv,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue