mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
LibJS: Introduce AbstractOperations.{cpp,h} and move various AOs there
Value.{cpp,h} has become a dumping ground, let's change that.
Things that are directly related to Values (e.g. bitwise/binary ops,
equality related functions) can remain, but everything else that's not a
Value or Object method and globally required (not just a static function
somewhere) is being moved.
Also convert to east-const while we're here.
I haven't touched IteratorOperations.{cpp,h}, it seems fine to still
have those separately.
This commit is contained in:
committed by
Andreas Kling
parent
c03a3dc5b7
commit
55db9539a5
Notes:
sideshowbarker
2024-07-18 11:59:42 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/55db9539a52 Pull-request: https://github.com/SerenityOS/serenity/pull/8161 Reviewed-by: https://github.com/mattco98
@@ -9,6 +9,7 @@
|
||||
#include <AK/JsonObject.h>
|
||||
#include <AK/JsonParser.h>
|
||||
#include <AK/StringBuilder.h>
|
||||
#include <LibJS/Runtime/AbstractOperations.h>
|
||||
#include <LibJS/Runtime/Array.h>
|
||||
#include <LibJS/Runtime/BigIntObject.h>
|
||||
#include <LibJS/Runtime/BooleanObject.h>
|
||||
|
||||
Reference in New Issue
Block a user