|
| Lexer (VM *, JSParserBuiltinMode, JSParserScriptMode) |
|
| ~Lexer () |
|
void | setCode (const SourceCode &, ParserArena *) |
|
void | setIsReparsingFunction () |
|
bool | isReparsingFunction () const |
|
JSTokenType | lex (JSToken *, unsigned, bool strictMode) |
|
bool | nextTokenIsColon () |
|
int | lineNumber () const |
|
ALWAYS_INLINE int | currentOffset () const |
|
ALWAYS_INLINE int | currentLineStartOffset () const |
|
ALWAYS_INLINE JSTextPosition | currentPosition () const |
|
JSTextPosition | positionBeforeLastNewline () const |
|
JSTokenLocation | lastTokenLocation () const |
|
void | setLastLineNumber (int lastLineNumber) |
|
int | lastLineNumber () const |
|
bool | prevTerminator () const |
|
JSTokenType | scanRegExp (JSToken *, UChar patternPrefix=0) |
|
JSTokenType | scanTemplateString (JSToken *, RawStringsBuildMode) |
|
bool | sawError () const |
|
void | setSawError (bool sawError) |
|
String | getErrorMessage () const |
|
void | setErrorMessage (const String &errorMessage) |
|
String | sourceURL () const |
|
String | sourceMappingURL () const |
|
void | clear () |
|
void | setOffset (int offset, int lineStartOffset) |
|
void | setLineNumber (int line) |
|
void | setTerminator (bool terminator) |
|
JSTokenType | lexExpectIdentifier (JSToken *, unsigned, bool strictMode) |
|
ALWAYS_INLINE StringView | getToken (const JSToken &token) |
|
| Lexer (VM *, JSParserBuiltinMode, JSParserScriptMode) |
|
| ~Lexer () |
|
void | setCode (const SourceCode &, ParserArena *) |
|
void | setIsReparsingFunction () |
|
bool | isReparsingFunction () const |
|
JSTokenType | lex (JSToken *, unsigned, bool strictMode) |
|
bool | nextTokenIsColon () |
|
int | lineNumber () const |
|
ALWAYS_INLINE int | currentOffset () const |
|
ALWAYS_INLINE int | currentLineStartOffset () const |
|
ALWAYS_INLINE JSTextPosition | currentPosition () const |
|
JSTextPosition | positionBeforeLastNewline () const |
|
JSTokenLocation | lastTokenLocation () const |
|
void | setLastLineNumber (int lastLineNumber) |
|
int | lastLineNumber () const |
|
bool | prevTerminator () const |
|
JSTokenType | scanRegExp (JSToken *, UChar patternPrefix=0) |
|
JSTokenType | scanTemplateString (JSToken *, RawStringsBuildMode) |
|
bool | sawError () const |
|
void | setSawError (bool sawError) |
|
String | getErrorMessage () const |
|
void | setErrorMessage (const String &errorMessage) |
|
String | sourceURL () const |
|
String | sourceMappingURL () const |
|
void | clear () |
|
void | setOffset (int offset, int lineStartOffset) |
|
void | setLineNumber (int line) |
|
void | setTerminator (bool terminator) |
|
JSTokenType | lexExpectIdentifier (JSToken *, unsigned, bool strictMode) |
|
ALWAYS_INLINE StringView | getToken (const JSToken &token) |
|
template<> |
ALWAYS_INLINE bool | isWhiteSpace (LChar ch) |
|
template<> |
ALWAYS_INLINE bool | isWhiteSpace (UChar ch) |
|
template<> |
ALWAYS_INLINE bool | isLineTerminator (LChar ch) |
|
template<> |
ALWAYS_INLINE bool | isLineTerminator (UChar ch) |
|
template<int shiftAmount> |
ALWAYS_INLINE void | internalShift () |
|
template<bool shouldCreateIdentifier> |
JSTokenType | parseIdentifierSlowCase (JSTokenData *tokenData, unsigned lexerFlags, bool strictMode) |
|
template<bool shouldBuildStrings, LexerEscapeParseMode escapeParseMode> |
ALWAYS_INLINE auto | parseComplexEscape (bool strictMode, T stringQuoteCharacter) -> StringParseResult |
|
template<bool shouldBuildStrings> |
auto | parseStringSlowCase (JSTokenData *tokenData, bool strictMode) -> StringParseResult |
|
template<> |
ALWAYS_INLINE bool | isWhiteSpace (LChar ch) |
|
template<> |
ALWAYS_INLINE bool | isWhiteSpace (UChar ch) |
|
template<> |
ALWAYS_INLINE bool | isLineTerminator (LChar ch) |
|
template<> |
ALWAYS_INLINE bool | isLineTerminator (UChar ch) |
|