LibJS: Implement null and undefined literals

This commit is contained in:
0xtechnobabble
2020-03-15 23:32:34 +02:00
committed by Andreas Kling
parent 7aad10d984
commit cfd710eb31
6 changed files with 61 additions and 0 deletions

View File

@@ -183,6 +183,8 @@ const char* Token::name(TokenType type)
return "Try";
case TokenType::Typeof:
return "Typeof";
case TokenType::UndefinedLiteral:
return "UndefinedLiteral";
case TokenType::UnsignedShiftRight:
return "UnsignedShiftRight";
case TokenType::UnsignedShiftRightEquals: