LibJS: Enable EXPLICIT_SYMBOL_EXPORT and annotate minimum symbol set

This commit is contained in:
ayeteadoe
2025-07-19 13:49:30 -07:00
committed by Tim Flynn
parent 539a675802
commit 2e2484257d
Notes: github-actions[bot] 2025-07-22 15:52:50 +00:00
61 changed files with 167 additions and 124 deletions

View File

@@ -10,12 +10,13 @@
#include <AK/NonnullRefPtr.h>
#include <AK/StringView.h>
#include <AK/Types.h>
#include <LibJS/Export.h>
#include <LibJS/Position.h>
#include <LibJS/SourceCode.h>
namespace JS {
struct SourceRange {
struct JS_API SourceRange {
[[nodiscard]] bool contains(Position const& position) const { return position.offset <= end.offset && position.offset >= start.offset; }
NonnullRefPtr<SourceCode const> code;