LibJS: Add BigInt

This commit is contained in:
Linus Groh
2020-06-06 01:14:10 +01:00
committed by Andreas Kling
parent 40829b849a
commit 0ff9d7e189
32 changed files with 1910 additions and 636 deletions

View File

@@ -40,6 +40,7 @@ static TextStyle style_for_token_type(Gfx::Palette palette, JS::TokenType type)
case JS::TokenType::Eof:
return { palette.syntax_comment() };
case JS::TokenType::NumericLiteral:
case JS::TokenType::BigIntLiteral:
return { palette.syntax_number() };
case JS::TokenType::StringLiteral:
case JS::TokenType::TemplateLiteralStart: