mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibJS: Remove C++ AST
Delete AST.cpp, AST.h, ASTDump.cpp, ScopeRecord.h, and the dead get_builtin(MemberExpression const&) from Builtins.cpp. Extract ImportEntry and ExportEntry into a new ModuleEntry.h, since they are data types used by the module system, not AST node types. Inline ModuleRequest's sorting constructor and SourceRange::filename(). Remove the dead annex_b_function_declarations field from EvalDeclarationData, which was only populated by the C++ parser.
This commit is contained in:
committed by
Andreas Kling
parent
169452f41b
commit
8ec7e7c07c
Notes:
github-actions[bot]
2026-03-20 02:56:47 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/8ec7e7c07c9 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8517
@@ -10,6 +10,7 @@
|
||||
#include <LibJS/CyclicModule.h>
|
||||
#include <LibJS/Export.h>
|
||||
#include <LibJS/Forward.h>
|
||||
#include <LibJS/ModuleEntry.h>
|
||||
#include <LibJS/Runtime/ExecutionContext.h>
|
||||
|
||||
namespace JS {
|
||||
|
||||
Reference in New Issue
Block a user