diff options
1 files changed, 19 insertions, 0 deletions
| -rw-r--r-- | JSImpl/src/Lexer.h | 19 |
diff --git a/JSImpl/src/Lexer.h b/JSImpl/src/Lexer.h index 21c06cc..fd3d244 100644 --- a/JSImpl/src/Lexer.h +++ b/JSImpl/src/Lexer.h @@ -22,6 +22,10 @@ enum TokenType BitwiseAnd, BitwiseXor, BitwiseOr, + QuestionMark, + Colon, + LeftSquareBracket, + RightSquareBracket, // One or two character tokens Bang, @@ -40,6 +44,16 @@ enum TokenType RightShift, LogicalAnd, LogicalOr, + StarEqual, + DivideEqual, + ModuloEqual, + PlusEqual, + MinusEqual, + LeftShiftEqual, + RightShiftEqual, + BitwiseAndEqual, + BitwiseXorEqual, + BitwiseOrEqual, Identifier, String, @@ -79,6 +93,11 @@ enum TokenType While, With, Yield, + Null, + Undefined, + True, + False, + Eof, }; |
