Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / src / Lexer.h
diff options
context:
space:
mode:
Commitb37ef48f0dc109ef99089a99eb917d027799e5ea (patch)
Author
 martin dobrev <martindobrev0@gmail.com>
2018-09-07 18:58:29 +0300
Committer
 martin dobrev <martindobrev0@gmail.com>
2018-09-07 18:58:29 +0300
Filesd8f2bf7fa71a513abb65b3e04c439bbdbdaa4ac6 /JSImpl/src/Lexer.h
IPL-b37ef48f0dc109ef99089a99eb917d027799e5ea.tar
IPL-b37ef48f0dc109ef99089a99eb917d027799e5ea.tar.gz
IPL-b37ef48f0dc109ef99089a99eb917d027799e5ea.zip
Parent4fb889400b4f4e478bea030d1484becc89a1025c (diff)
Add more lexemes to Lexer
1 files changed, 7 insertions, 2 deletions
-rw-r--r--JSImpl/src/Lexer.h9
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,