mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibJS: Enable EXPLICIT_SYMBOL_EXPORT and annotate minimum symbol set
This commit is contained in:
Notes:
github-actions[bot]
2025-07-22 15:52:50 +00:00
Author: https://github.com/ayeteadoe Commit: https://github.com/LadybirdBrowser/ladybird/commit/2e2484257d4 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5525 Reviewed-by: https://github.com/trflynn89 ✅
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user