1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 11:37:45 +00:00

LibJS+LibWeb: Make CyclicModule.h not include AST.h

This led to some fallout as many things in LibJS and LibWeb were pulling
in other things via CyclicModule.h
This commit is contained in:
Andreas Kling 2022-11-23 13:28:01 +01:00 committed by Linus Groh
parent d16b808e71
commit b81816a539
11 changed files with 11 additions and 1 deletions

View file

@ -8,7 +8,6 @@
#include <LibJS/Forward.h>
#include <LibJS/Module.h>
#include <LibJS/Parser.h>
namespace JS {

View file

@ -179,6 +179,7 @@ struct ImportEntry;
class ImportStatement;
class Interpreter;
class Intrinsics;
class MetaProperty;
class Module;
class NativeFunction;
class ObjectEnvironment;

View file

@ -5,9 +5,11 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/TypeCasts.h>
#include <LibJS/Interpreter.h>
#include <LibJS/Runtime/Completion.h>
#include <LibJS/Runtime/FunctionObject.h>
#include <LibJS/Runtime/NativeFunction.h>
namespace JS {

View file

@ -7,6 +7,7 @@
#include <AK/QuickSort.h>
#include <LibJS/Interpreter.h>
#include <LibJS/Parser.h>
#include <LibJS/Runtime/ECMAScriptFunctionObject.h>
#include <LibJS/Runtime/ModuleEnvironment.h>
#include <LibJS/SourceTextModule.h>