12019-10-16 Ross Kirsling <ross.kirsling@sony.com>
2
3 [JSC] Lexer flags should be an OptionSet
4 https://bugs.webkit.org/show_bug.cgi?id=203032
5
6 Reviewed by NOBODY (OOPS!).
7
8 LexerFlags has an annoyingly misspelled value LexexFlagsDontBuildKeywords;
9 let's use this as an opportunity to modernize this enum.
10
11 * parser/ASTBuilder.h:
12 * parser/Lexer.cpp:
13 (JSC::Lexer<LChar>::parseIdentifier):
14 (JSC::Lexer<UChar>::parseIdentifier):
15 (JSC::Lexer<CharacterType>::parseIdentifierSlowCase):
16 (JSC::Lexer<T>::lexWithoutClearingLineTerminator):
17 * parser/Lexer.h:
18 (JSC::Lexer<T>::lexExpectIdentifier):
19 (JSC::Lexer<T>::lex):
20 * parser/Parser.cpp:
21 (JSC::Parser<LexerType>::parseProperty):
22 (JSC::Parser<LexerType>::parseMemberExpression):
23 * parser/Parser.h:
24 (JSC::Parser::next):
25 (JSC::Parser::nextWithoutClearingLineTerminator):
26 (JSC::Parser::nextExpectIdentifier):
27 (JSC::Parser::consume):
28 * parser/SyntaxChecker.h:
29