davidot
|
eeb42c21d1
LibJS: Lex private identifiers, identifiers prefixed with a '#'
|
3 tahun lalu |
Nico Weber
|
b8dc3661ac
Libraries: Fix -Wunreachable-code warnings from clang
|
3 tahun lalu |
davidot
|
ac2c3a73b1
LibJS: Add a specific test for invalid unicode characters in the lexer
|
3 tahun lalu |
Luke Wilde
|
ae0bdda86e
LibJS: Remove read buffer overflow in Lexer::consume
|
3 tahun lalu |
Andreas Kling
|
76bafe5542
LibJS: Always inline two hot (and trivial) functions in JS::Lexer
|
3 tahun lalu |
Andreas Kling
|
8bde4e94d8
LibJS: Make Lexer::s_keywords store keywords as FlyString
|
3 tahun lalu |
Andreas Kling
|
bf46845819
LibJS: Avoid a temporary AK::String when lexing already-seen identifiers
|
3 tahun lalu |
Linus Groh
|
a50e33abe3
LibJS: Skip ID_{Start,Continue} property lookup for any ASCII characters
|
3 tahun lalu |
Andreas Kling
|
d7578ddebb
LibJS: Share "parsed identifiers" between copied JS::Lexer instances
|
3 tahun lalu |
davidot
|
bbddfeef4b
LibJS: Clean up token constructor and use method instead for identifiers
|
3 tahun lalu |
Brian Gianforcaro
|
77d8a65498
LibJS: Fix incorrect Lexer VERIFY when parsing Unicode characters
|
3 tahun lalu |
davidot
|
c108c8ff24
LibJS: Disallow yield expression correctly in formal parameters
|
3 tahun lalu |
davidot
|
7bcffd1b6a
LibJS: Fix some small remaining issues with parsing unicode escapes
|
3 tahun lalu |
Timothy Flynn
|
1259dc3623
LibJS: Allow Unicode escape sequences in identifiers
|
3 tahun lalu |
davidot
|
47bc72bcf6
LibJS: Correctly handle Unicode characters in JS source text
|
3 tahun lalu |
davidot
|
106f9e30d7
LibJS: Force the lexer to parse a regex when expecting a statement
|
3 tahun lalu |
davidot
|
4cc95ae39d
LibJS: Fix that a windows-style new line was not escaped properly
|
4 tahun lalu |
davidot
|
7613c22b06
LibJS: Add a mode to parse JS as a module
|
3 tahun lalu |
Ali Mohammad Pur
|
1a9518ebe3
LibJS: Implement parsing and evaluation for AssignmentPatterns
|
4 tahun lalu |
Ali Mohammad Pur
|
0292ad33eb
LibJS: Make a slash after a curly close mean not-division
|
4 tahun lalu |
Andreas Kling
|
49018553d3
LibJS+LibCrypto: Allow '_' as a numeric literal separator :^)
|
4 tahun lalu |
Linus Groh
|
714a96619f
LibJS: Disallow whitespace or comments between regex literal and flags
|
4 tahun lalu |
Linus Groh
|
597cf88c08
LibJS: Implement the 'Hashbang Grammar for JS' proposal
|
4 tahun lalu |
Idan Horowitz
|
690eb3bb8a
LibJS: Add support for hex, octal & binary big integer literals
|
4 tahun lalu |
Andreas Kling
|
39ad705c13
LibJS: Use the new is_ascii_foo() helpers from AK
|
4 tahun lalu |
Gunnar Beutner
|
d476144565
Userland: Allow building SerenityOS with -funsigned-char
|
4 tahun lalu |
Stephan Unverwerth
|
10ceeb092f
Everywhere: Use s.unverwerth@serenityos.org :^)
|
4 tahun lalu |
Linus Groh
|
ebdeed087c
Everywhere: Use linusg@serenityos.org for my copyright headers
|
4 tahun lalu |
Brian Gianforcaro
|
1682f0b760
Everything: Move to SPDX license identifiers in all files.
|
4 tahun lalu |
Linus Groh
|
a178255a8b
LibJS: Use 'if constexpr' / dbgln_if() instead of '#if LEXER_DEBUG'
|
4 tahun lalu |