LibGUI: Highlight JS Extends and Super tokens

This commit is contained in:
Jack Karamanian 2020-06-30 19:55:41 -05:00 committed by Andreas Kling
parent 7b72001667
commit 4dcdad4cc4

View file

@ -110,6 +110,7 @@ static TextStyle style_for_token_type(Gfx::Palette palette, JS::TokenType type)
case JS::TokenType::Const:
case JS::TokenType::Delete:
case JS::TokenType::Debugger:
case JS::TokenType::Extends:
case JS::TokenType::Function:
case JS::TokenType::In:
case JS::TokenType::Instanceof:
@ -117,6 +118,7 @@ static TextStyle style_for_token_type(Gfx::Palette palette, JS::TokenType type)
case JS::TokenType::Let:
case JS::TokenType::New:
case JS::TokenType::NullLiteral:
case JS::TokenType::Super:
case JS::TokenType::Typeof:
case JS::TokenType::Var:
case JS::TokenType::Void: