LibJS: Add BigInt

This commit is contained in:
Linus Groh 2020-06-06 01:14:10 +01:00 committed by Andreas Kling
commit 0ff9d7e189
Notes: sideshowbarker 2024-07-19 05:46:23 +09:00
32 changed files with 1910 additions and 636 deletions

View file

@ -217,6 +217,7 @@ MarkupGenerator::StyleType MarkupGenerator::style_type_for_token(Token token)
case TokenType::UnterminatedTemplateLiteral:
return StyleType::Invalid;
case TokenType::NumericLiteral:
case TokenType::BigIntLiteral:
return StyleType::Number;
case TokenType::StringLiteral:
case TokenType::TemplateLiteralStart: