Browse Source

LibJS: Make Interpreter.h not include AST.h

Andreas Kling 2 years ago
parent
commit
1a30e77001
2 changed files with 1 additions and 1 deletions
  1. 1 0
      Userland/Libraries/LibJS/Forward.h
  2. 0 1
      Userland/Libraries/LibJS/Interpreter.h

+ 1 - 0
Userland/Libraries/LibJS/Forward.h

@@ -164,6 +164,7 @@ class Error;
 class ErrorType;
 struct ExecutionContext;
 class Expression;
+class ForStatement;
 class FunctionEnvironment;
 class FunctionNode;
 class GlobalEnvironment;

+ 0 - 1
Userland/Libraries/LibJS/Interpreter.h

@@ -11,7 +11,6 @@
 #include <AK/HashMap.h>
 #include <AK/String.h>
 #include <AK/Weakable.h>
-#include <LibJS/AST.h>
 #include <LibJS/Forward.h>
 #include <LibJS/Heap/DeferGC.h>
 #include <LibJS/Heap/Heap.h>