Andreas Kling
|
34344120f2
AK: Make "foo"_string infallible
|
1 tahun lalu |
Simon Wanner
|
a2efecac03
LibJS: Parse slashes after reserved identifiers correctly
|
2 tahun lalu |
Linus Groh
|
09d40bfbb2
Everywhere: Use _{short_,}string to create Strings from literals
|
2 tahun lalu |
Evan Smal
|
3226ce3d83
LibJS: Remove some usage of DeprecatedString usage from Lexer
|
2 tahun lalu |
Evan Smal
|
cfa6b4d815
LibJS: Remove DeprecatedString usage from Token
|
2 tahun lalu |
Timothy Flynn
|
f3db548a3d
AK+Everywhere: Rename FlyString to DeprecatedFlyString
|
2 tahun lalu |
Linus Groh
|
6e19ab2bbc
AK+Everywhere: Rename String to DeprecatedString
|
2 tahun lalu |
davidot
|
b3edd94869
LibJS: Treat '\\' as an escaped character in template literals
|
2 tahun lalu |
sin-ack
|
fbc771efe9
Everywhere: Use default StringView constructor over nullptr
|
3 tahun lalu |
sin-ack
|
3f3f45580a
Everywhere: Add sv suffix to strings relying on StringView(char const*)
|
3 tahun lalu |
Andreas Kling
|
92e0378dbd
LibJS: Always inline Lexer::current_code_point()
|
3 tahun lalu |
Andreas Kling
|
3d9f2e2f94
LibJS: Add ASCII fast path to Lexer::current_code_point()
|
3 tahun lalu |
Linus Groh
|
95a9f12b97
LibJS: Set Token's m_offset to the value's start index
|
3 tahun lalu |
davidot
|
56c425eec1
LibJS: Detect invalid unicode and stop lexing at that point
|
3 tahun lalu |
davidot
|
a1308bfc60
LibJS: Make new lines in block comments reset line has token
|
3 tahun lalu |
davidot
|
e751dcea43
LibJS: Treat private identifier as divisible token
|
3 tahun lalu |
davidot
|
afde1821b5
LibJS: Disallow numerical separators in octal numbers and after '.'
|
3 tahun lalu |
Idan Horowitz
|
681787de76
LibJS: Add support for async functions
|
3 tahun lalu |
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 |