sin-ack
|
fbc771efe9
Everywhere: Use default StringView constructor over nullptr
|
3 éve |
sin-ack
|
3f3f45580a
Everywhere: Add sv suffix to strings relying on StringView(char const*)
|
3 éve |
Andreas Kling
|
92e0378dbd
LibJS: Always inline Lexer::current_code_point()
|
3 éve |
Andreas Kling
|
3d9f2e2f94
LibJS: Add ASCII fast path to Lexer::current_code_point()
|
3 éve |
Linus Groh
|
95a9f12b97
LibJS: Set Token's m_offset to the value's start index
|
3 éve |
davidot
|
56c425eec1
LibJS: Detect invalid unicode and stop lexing at that point
|
3 éve |
davidot
|
a1308bfc60
LibJS: Make new lines in block comments reset line has token
|
3 éve |
davidot
|
e751dcea43
LibJS: Treat private identifier as divisible token
|
3 éve |
davidot
|
afde1821b5
LibJS: Disallow numerical separators in octal numbers and after '.'
|
3 éve |
Idan Horowitz
|
681787de76
LibJS: Add support for async functions
|
3 éve |
davidot
|
eeb42c21d1
LibJS: Lex private identifiers, identifiers prefixed with a '#'
|
3 éve |
Nico Weber
|
b8dc3661ac
Libraries: Fix -Wunreachable-code warnings from clang
|
3 éve |
davidot
|
ac2c3a73b1
LibJS: Add a specific test for invalid unicode characters in the lexer
|
3 éve |
Luke Wilde
|
ae0bdda86e
LibJS: Remove read buffer overflow in Lexer::consume
|
3 éve |
Andreas Kling
|
76bafe5542
LibJS: Always inline two hot (and trivial) functions in JS::Lexer
|
3 éve |
Andreas Kling
|
8bde4e94d8
LibJS: Make Lexer::s_keywords store keywords as FlyString
|
3 éve |
Andreas Kling
|
bf46845819
LibJS: Avoid a temporary AK::String when lexing already-seen identifiers
|
3 éve |
Linus Groh
|
a50e33abe3
LibJS: Skip ID_{Start,Continue} property lookup for any ASCII characters
|
3 éve |
Andreas Kling
|
d7578ddebb
LibJS: Share "parsed identifiers" between copied JS::Lexer instances
|
3 éve |
davidot
|
bbddfeef4b
LibJS: Clean up token constructor and use method instead for identifiers
|
3 éve |
Brian Gianforcaro
|
77d8a65498
LibJS: Fix incorrect Lexer VERIFY when parsing Unicode characters
|
3 éve |
davidot
|
c108c8ff24
LibJS: Disallow yield expression correctly in formal parameters
|
3 éve |
davidot
|
7bcffd1b6a
LibJS: Fix some small remaining issues with parsing unicode escapes
|
3 éve |
Timothy Flynn
|
1259dc3623
LibJS: Allow Unicode escape sequences in identifiers
|
3 éve |
davidot
|
47bc72bcf6
LibJS: Correctly handle Unicode characters in JS source text
|
3 éve |
davidot
|
106f9e30d7
LibJS: Force the lexer to parse a regex when expecting a statement
|
4 éve |
davidot
|
4cc95ae39d
LibJS: Fix that a windows-style new line was not escaped properly
|
4 éve |
davidot
|
7613c22b06
LibJS: Add a mode to parse JS as a module
|
3 éve |
Ali Mohammad Pur
|
1a9518ebe3
LibJS: Implement parsing and evaluation for AssignmentPatterns
|
4 éve |
Ali Mohammad Pur
|
0292ad33eb
LibJS: Make a slash after a curly close mean not-division
|
4 éve |