From b37ef48f0dc109ef99089a99eb917d027799e5ea Mon Sep 17 00:00:00 2001 From: martin dobrev Date: Fri, 7 Sep 2018 18:58:29 +0300 Subject: Add more lexemes to Lexer --- JSImpl/src/Lexer.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'JSImpl/src/Lexer.h') diff --git a/JSImpl/src/Lexer.h b/JSImpl/src/Lexer.h index 6090759..eb33e77 100644 --- a/JSImpl/src/Lexer.h +++ b/JSImpl/src/Lexer.h @@ -12,27 +12,32 @@ enum TokenType RightBrace, Comma, Dot, - Minums, + Minus, Plus, Semicolon, Slash, Star, + BitwiseNot, // One or two character tokens Bang, BangEqual, Equal, EqualEqual, + StrictEqual, + StrictNotEqual, Greater, GreaterEqual, Less, LessEqual, + MinusMinus, + PlusPlus, Identifier, String, Number, - // Keywords. + // Keywords. ECMAScript 2015 Break, Case, Catch, -- cgit v1.3.1-23-gd82d