1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:58:11 +00:00
serenity/Libraries/LibJS
Linus Groh 849e2c77e4 LibJS: Implement constructor/non-constructor function calls
This adds Function::construct() for constructor function calls via `new`
keyword. NativeFunction doesn't have constructor behaviour by default,
ScriptFunction simply calls call() in construct()
2020-04-01 20:18:36 +02:00
..
Heap LibJS: Disable HEAP_DEBUG logging on non-SerenityOS platforms 2020-03-25 09:49:14 +01:00
Runtime LibJS: Implement constructor/non-constructor function calls 2020-04-01 20:18:36 +02:00
Tests LibJS: Implement constructor/non-constructor function calls 2020-04-01 20:18:36 +02:00
AST.cpp LibJS: Implement constructor/non-constructor function calls 2020-04-01 20:18:36 +02:00
AST.h LibJS: Reorganize computing of |this| for CallExpressions 2020-04-01 18:57:00 +02:00
Forward.h LibJS: Implement "throw" 2020-03-24 22:21:58 +01:00
Interpreter.cpp LibWeb+LibJS: Move DOM Window object to dedicated classes 2020-04-01 18:57:00 +02:00
Interpreter.h LibWeb+LibJS: Move DOM Window object to dedicated classes 2020-04-01 18:57:00 +02:00
Lexer.cpp LibJS: Add support for arrow functions 2020-03-30 15:41:36 +02:00
Lexer.h LibJS: Lex single quote strings, escaped chars and unterminated strings 2020-03-14 12:13:53 +01:00
Makefile LibJS: Start implementing Date :^) 2020-03-30 14:11:54 +02:00
Parser.cpp LibJS: Add support for arrow functions 2020-03-30 15:41:36 +02:00
Parser.h LibJS: Add support for arrow functions 2020-03-30 15:41:36 +02:00
Token.cpp LibJS: Use some macro magic to avoid duplicating all the token types 2020-03-30 13:11:07 +02:00
Token.h LibJS: Add support for arrow functions 2020-03-30 15:41:36 +02:00