1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:38:12 +00:00
serenity/Libraries/LibJS
Andreas Kling e4add19915 LibJS: Pass GlobalObject& to native functions and property accessors
More work towards supporting multiple global objects. Native C++ code
now get a GlobalObject& and don't have to ask the Interpreter for it.

I've added macros for declaring and defining native callbacks since
this was pretty tedious and this makes it easier next time we want to
change any of these signatures.
2020-06-20 15:45:07 +02:00
..
Heap LibJS: Fix undefined behavior in HeapBlock 2020-06-01 17:37:44 +02:00
Runtime LibJS: Pass GlobalObject& to native functions and property accessors 2020-06-20 15:45:07 +02:00
Tests LibJS: Add JSON.parse 2020-06-13 12:43:22 +02:00
AST.cpp LibJS: Remove some more use of Interpreter::global_object() 2020-06-20 15:45:07 +02:00
AST.h LibJS: Pass GlobalObject& to AST node execute() functions 2020-06-08 21:12:20 +02:00
CMakeLists.txt LibJS: Add JSON.stringify 2020-06-13 12:43:22 +02:00
Console.cpp LibJS: Move Interpreter::get_trace() to ConsoleClient 2020-06-02 15:22:34 +02:00
Console.h LibJS: Move Interpreter::get_trace() to ConsoleClient 2020-06-02 15:22:34 +02:00
Forward.h LibJS: Pass GlobalObject& to native functions and property accessors 2020-06-20 15:45:07 +02:00
Interpreter.cpp LibJS: Consolidate error messages into ErrorTypes.h 2020-06-11 07:46:20 +02:00
Interpreter.h LibJS: Consolidate error messages into ErrorTypes.h 2020-06-11 07:46:20 +02:00
Lexer.cpp LibJS: Move regex logic to main Lexer if statement 2020-06-08 09:18:27 +02:00
Lexer.h LibJS: Lex and parse regex literals, add RegExp objects 2020-06-07 19:06:55 +02:00
MarkupGenerator.cpp LibJS: Add BigInt 2020-06-07 19:29:40 +02:00
MarkupGenerator.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
Parser.cpp LibJS: Add BigInt 2020-06-07 19:29:40 +02:00
Parser.h LibJS: Lex and parse regex literals, add RegExp objects 2020-06-07 19:06:55 +02:00
Token.cpp LibJS: Fix out-of-bounds read when parsing escape sequences 2020-06-01 17:37:44 +02:00
Token.h LibJS: Add BigInt 2020-06-07 19:29:40 +02:00