1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:48:11 +00:00
serenity/Userland/Libraries/LibJS
Linus Groh e640fdd395 LibJS: Let RegExpPrototype inherit from Object directly
https://tc39.es/ecma262/#sec-properties-of-the-regexp-prototype-object

The RegExp prototype object:
- is an ordinary object.
- is not a RegExp instance and does not have a [[RegExpMatcher]]
  internal slot or any of the other internal slots of RegExp instance
  objects.

In other words: no need to have RegExpPrototype inherit from
RegExpObject (we weren't even calling its initialize()).
2021-02-24 10:22:17 +01:00
..
Heap Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Runtime LibJS: Let RegExpPrototype inherit from Object directly 2021-02-24 10:22:17 +01:00
Tests LibJS: Make ArrayPrototype an Array object 2021-02-24 10:22:17 +01:00
AST.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
AST.h Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
CMakeLists.txt LibSyntax+LibGUI+LibJS: Move JS syntax highlighter to LibJS 2021-02-07 16:56:02 +01:00
Console.cpp LibJS: Print console.{debug,error,info,log,warn} to system debug log 2021-02-21 21:32:16 +01:00
Console.h LibJS: Print console.{debug,error,info,log,warn} to system debug log 2021-02-21 21:32:16 +01:00
Forward.h LibJS: Add JS::NativeFunction to the forwarding header 2021-01-18 12:18:29 +01:00
Interpreter.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Interpreter.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Lexer.cpp LibJS: Remove a whole bunch of unnecessary #includes 2021-02-10 09:13:29 +01:00
Lexer.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
MarkupGenerator.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
MarkupGenerator.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Parser.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Parser.h Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
SourceRange.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
SyntaxHighlighter.cpp LibSyntax: Make rehighlight() take Gfx::Palette as by const-reference 2021-02-11 23:52:39 +01:00
SyntaxHighlighter.h LibSyntax: Make rehighlight() take Gfx::Palette as by const-reference 2021-02-11 23:52:39 +01:00
Token.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Token.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00