diff options
Diffstat (limited to 'src/js_lexer_tables.zig')
-rw-r--r-- | src/js_lexer_tables.zig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/js_lexer_tables.zig b/src/js_lexer_tables.zig index ab6b0f95a..0ab696b62 100644 --- a/src/js_lexer_tables.zig +++ b/src/js_lexer_tables.zig @@ -178,6 +178,18 @@ pub const Keywords = std.ComptimeStringMap(T, .{ .{ "with", .t_with }, }); +pub const StrictModeReservedWords = std.ComptimeStringMap(Bool, .{ + .{ "implements", true }, + .{ "interface", true }, + .{ "let", true }, + .{ "package", true }, + .{ "private", true }, + .{ "protected", true }, + .{ "public", true }, + .{ "static", true }, + .{ "yield", true }, +}); + pub const CodePoint = i22; pub const TokenEnumType = std.EnumArray(T, []u8); |