Skip to content

Commit 65e7c58

Browse files
awesomeklinglinusg
authored andcommitted
LibJS: Make Script.h not include AST.h
1 parent 8cb6484 commit 65e7c58

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

Userland/Libraries/LibJS/Forward.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ class ObjectEnvironment;
184184
class Parser;
185185
struct ParserError;
186186
class PrimitiveString;
187+
class Program;
187188
class PromiseCapability;
188189
class PromiseReaction;
189190
class PropertyAttributes;

Userland/Libraries/LibJS/Runtime/RegExpLegacyStaticProperties.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* SPDX-License-Identifier: BSD-2-Clause
55
*/
66

7+
#include <AK/Utf16View.h>
78
#include <LibJS/Runtime/RegExpConstructor.h>
89
#include <LibJS/Runtime/RegExpLegacyStaticProperties.h>
910
#include <LibJS/Runtime/VM.h>

Userland/Libraries/LibJS/Script.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#pragma once
88

99
#include <AK/NonnullRefPtr.h>
10-
#include <LibJS/AST.h>
1110
#include <LibJS/Heap/GCPtr.h>
1211
#include <LibJS/Heap/Handle.h>
1312
#include <LibJS/ParserError.h>

0 commit comments

Comments
 (0)