ladybird/Userland/Libraries/LibJS
Andreas Kling 481cef59b6 LibJS: Track which Identifier nodes refer to function arguments
This patch adds an "argument index" field to Identifier AST nodes.
If the Identifier refers to a function parameter in the currently
open function scope, we stash the index of the parameter here.

This will allow us to implement much faster direct access to function
argument variables.
2021-06-14 11:26:12 +02:00
..
Bytecode LibJS: Store and maintain an "execution generation" counter 2021-06-12 18:39:23 +01:00
Heap LibJS: Don't generate unused HeapBlock names on non-SerenityOS systems 2021-06-13 19:11:29 +02:00
Runtime LibJS: Add Array.prototype.@@unscopables 2021-06-14 09:57:06 +01:00
Tests LibJS: Add additional generic Array.prototype.slice tests 2021-06-14 09:57:06 +01:00
AST.cpp LibJS: Track which Identifier nodes refer to function arguments 2021-06-14 11:26:12 +02:00
AST.h LibJS: Track which Identifier nodes refer to function arguments 2021-06-14 11:26:12 +02:00
CMakeLists.txt LibJS: Add the DataView built-in object 2021-06-14 01:45:04 +01:00
Console.cpp Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
Console.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Forward.h LibJS: Add the DataView built-in object 2021-06-14 01:45:04 +01:00
Interpreter.cpp LibJS: Store and maintain an "execution generation" counter 2021-06-12 18:39:23 +01:00
Interpreter.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Lexer.cpp LibJS: Add support for hex, octal & binary big integer literals 2021-06-14 01:45:04 +01:00
Lexer.h Userland: Allow building SerenityOS with -funsigned-char 2021-06-13 18:52:58 +02:00
MarkupGenerator.cpp LibJS: Avoid lots of string-to-int during global object construction 2021-06-13 19:11:29 +02:00
MarkupGenerator.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Parser.cpp LibJS: Track which Identifier nodes refer to function arguments 2021-06-14 11:26:12 +02:00
Parser.h LibJS: Track which Identifier nodes refer to function arguments 2021-06-14 11:26:12 +02:00
SourceRange.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SyntaxHighlighter.cpp LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30
SyntaxHighlighter.h LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30
Token.cpp LibJS: Use the new is_ascii_foo() helpers from AK 2021-06-13 19:11:29 +02:00
Token.h Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00