LibGUI: Highlight JS Extends and Super tokens
This commit is contained in:
parent
7b72001667
commit
4dcdad4cc4
Notes:
sideshowbarker
2024-07-19 05:18:27 +09:00
Author: https://github.com/jack-karamanian Commit: https://github.com/SerenityOS/serenity/commit/4dcdad4cc46 Pull-request: https://github.com/SerenityOS/serenity/pull/2672
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue