LibJS: Make Script.h not include AST.h

This commit is contained in:
Andreas Kling 2022-11-23 12:45:58 +01:00 committed by Linus Groh
parent 8cb6484f6c
commit 65e7c58990
Notes: sideshowbarker 2024-07-17 05:58:46 +09:00
3 changed files with 2 additions and 1 deletions

View file

@ -184,6 +184,7 @@ class ObjectEnvironment;
class Parser;
struct ParserError;
class PrimitiveString;
class Program;
class PromiseCapability;
class PromiseReaction;
class PropertyAttributes;

View file

@ -4,6 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/Utf16View.h>
#include <LibJS/Runtime/RegExpConstructor.h>
#include <LibJS/Runtime/RegExpLegacyStaticProperties.h>
#include <LibJS/Runtime/VM.h>

View file

@ -7,7 +7,6 @@
#pragma once
#include <AK/NonnullRefPtr.h>
#include <LibJS/AST.h>
#include <LibJS/Heap/GCPtr.h>
#include <LibJS/Heap/Handle.h>
#include <LibJS/ParserError.h>