Home | History | Annotate | Download | only in JavaScriptCore

Lines Matching full:lexer

4883         * parser/Lexer.h:
4884 (JSC::Lexer::setOffset):
4885 (JSC::Lexer::setLineNumber):
4886 (JSC::Lexer::sourceProvider):
5285 * parser/Lexer.h:
5286 (JSC::Lexer::setOffset):
5412 * parser/Lexer.cpp:
5413 (JSC::Lexer::nextTokenIsColon):
5414 * parser/Lexer.h:
5415 (JSC::Lexer::setOffset):
6945 * parser/Lexer.cpp:
6946 (JSC::Lexer::parseString):
6963 (JSC::LiteralParser::Lexer::lex):
8222 - translate shebang into a valid JavaScript comment so the lexer ignores it
12039 The old YACC parser depended on the lexer for some classes of semicolon insertion.
12040 The new parser handles ASI entirely on its own so when the lexer inserts a semicolon
12048 Would result in a parse failure as the output from the lexer is essentially
12061 in the lexer
12062 * parser/Lexer.cpp:
12063 (JSC::Lexer::lex):
12496 (JSC::LiteralParser::Lexer::lexString): Ditto.
12723 * parser/Lexer.cpp:
12724 (JSC::Lexer::parseString):
12725 (JSC::Lexer::lex):
12726 * parser/Lexer.h:
12727 (JSC::Lexer::isReparsing):
14635 Removing doneSemicolon label in the lexer
14644 * parser/Lexer.cpp:
14645 (JSC::Lexer::lex):
14737 Refactoring multiline comments in the lexer
14745 * parser/Lexer.cpp:
14746 (JSC::Lexer::parseMultilineComment):
14747 (JSC::Lexer::lex):
14748 * parser/Lexer.h:
15140 Refactor number parsing in the lexer
15148 * parser/Lexer.cpp:
15149 (JSC::Lexer::parseHex):
15150 (JSC::Lexer::parseOctal):
15151 (JSC::Lexer::parseDecimal):
15152 (JSC::Lexer::parseNumberAfterDecimalPoint):
15153 (JSC::Lexer::parseNumberAfterExponentIndicator):
15154 (JSC::Lexer::lex):
15155 * parser/Lexer.h:
15530 * parser/Lexer.cpp:
15531 (JSC::Lexer::lex):
16864 (JSC::LiteralParser::Lexer::Lexer):
17781 Refactor identifier parsing in lexer
17790 * parser/Lexer.cpp:
17791 (JSC::Lexer::parseIdent):
17792 (JSC::Lexer::lex):
17793 * parser/Lexer.h:
19584 Modify the lexer to allow us to avoid identifying reserved
19596 * parser/Lexer.cpp:
19597 (JSC::Lexer::lex):
19598 * parser/Lexer.h:
19599 (JSC::Lexer::):
19681 Refactoring some parts of the lexer
19685 parsing, which currently slows down the lexer, and not
19687 which does not slow down the lexer (mainly style changes).
19692 * parser/Lexer.cpp:
19697 (JSC::Lexer::parseString): style fix
19698 (JSC::Lexer
19823 Change indentations in the lexer
19834 * parser/Lexer.cpp:
19836 (JSC::Lexer::lex):
19858 Add BOM character to the Lexer's definition of whitespace,
19862 * parser/Lexer.h:
19863 (JSC::Lexer::isWhiteSpace):
20032 * parser/Lexer.cpp:
20033 (JSC::Lexer::sourceCode):
20184 Tidy up lexer token ids
20232 * parser/Lexer.cpp:
20234 (JSC::Lexer::lex):
20235 * parser/Lexer.h:
20263 Remove a couple of excess writes from the lexer
20276 * parser/Lexer.cpp:
20277 (JSC::Lexer::lex):
20389 * parser/Lexer.cpp:
20390 (JSC::Lexer::lex):
20396 Tidy up the lexer
20398 Remove some of the old yacc/lex-isms still present in the lexer
20402 * parser/Lexer.cpp:
20403 (JSC::Lexer::parseString):
20404 (JSC::Lexer::lex):
20405 * parser/Lexer.h:
20430 * parser/Lexer.cpp:
20431 (JSC::Lexer::clear):
20432 * parser/Lexer.h:
20433 (JSC::Lexer::currentOffset):
20434 (JSC::Lexer::setOffset):
20435 Add logic to allow us to roll the lexer back in the input stream.
20729 Refactored string parsing inside the lexer
20736 * parser/Lexer.cpp:
20738 (JSC::Lexer::parseString):
20739 (JSC::Lexer::lex):
20740 * parser/Lexer.h:
20953 Move BOM handling out of the lexer and parser
20956 Doing the BOM stripping in the lexer meant that we could
20960 This also simplifies some of the lexer logic.
20962 * parser/Lexer.cpp:
20963 (JSC::Lexer::setCode):
20964 (JSC::Lexer::sourceCode):
21085 * parser/Lexer.cpp:
21086 (JSC::Lexer::setCode):
21087 (JSC::Lexer::copyCodeWithoutBOMs):
21088 (JSC::Lexer::sourceCode):
21115 Move BOM handling out of the lexer and parser
21118 Doing the BOM stripping in the lexer meant that we could
21122 This also simplifies some of the lexer logic.
21124 * parser/Lexer.cpp:
21125 (JSC::Lexer::setCode):
21126 (JSC::Lexer::sourceCode):
21160 Build Lexer.lut.h with the rest of the .lut.h files. Later these should
21231 Improve the main lexer switch by mapping input characters to their type
21237 * parser/Lexer.cpp:
21239 (JSC::Lexer::lex):
21452 Only one character lookahead should be enough for the lexer
21455 The lexer had 4 character lookahead before, which required
21460 * parser/Lexer.cpp:
21461 (JSC::Lexer::currentCharacter):
21462 (JSC::Lexer::currentOffset):
21463 (JSC::Lexer::setCode):
21464 (JSC::Lexer::shift):
21465 (JSC::Lexer::peek):
21466 (JSC::Lexer::getUnicodeCharacter):
21467 (JSC::Lexer::shiftLineTerminator):
21468 (JSC::Lexer::lastTokenWasRestrKeyword):
21469 (JSC::Lexer::lex):
21470 (JSC::Lexer::scanRegExp):
21471 (JSC::Lexer::skipRegExp):
21472 * parser/Lexer.h:
21691 * parser/Lexer.cpp:
22112 * parser/Lexer.cpp:
22113 (JSC::Lexer::lex):
22114 * parser/Lexer.h:
22115 (JSC::Lexer::setLastLineNumber):
22116 (JSC::Lexer::lastLineNumber):
22509 * parser/Lexer.cpp:
22510 (JSC::Lexer::sourceCode):