mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
LibJS: Implement for statement
This commit is contained in:
parent
e88f2f15ee
commit
097e1af4e8
6 changed files with 119 additions and 0 deletions
|
@ -51,6 +51,7 @@ Lexer::Lexer(StringView source)
|
|||
s_keywords.set("do", TokenType::Do);
|
||||
s_keywords.set("else", TokenType::Else);
|
||||
s_keywords.set("finally", TokenType::Finally);
|
||||
s_keywords.set("for", TokenType::For);
|
||||
s_keywords.set("function", TokenType::Function);
|
||||
s_keywords.set("if", TokenType::If);
|
||||
s_keywords.set("interface", TokenType::Interface);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue