mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:17:44 +00:00
LibWeb: Move IDLOverloadResolution from Bindings/ to WebIDL/
This commit is contained in:
parent
6480faacb6
commit
86f68eb3c3
4 changed files with 6 additions and 6 deletions
|
@ -3,7 +3,6 @@ include(libweb_generators)
|
|||
set(SOURCES
|
||||
Bindings/AudioConstructor.cpp
|
||||
Bindings/CSSNamespace.cpp
|
||||
Bindings/IDLOverloadResolution.cpp
|
||||
Bindings/ImageConstructor.cpp
|
||||
Bindings/LegacyPlatformObject.cpp
|
||||
Bindings/LocationConstructor.cpp
|
||||
|
@ -413,6 +412,7 @@ set(SOURCES
|
|||
WebGL/WebGLRenderingContextBase.cpp
|
||||
WebIDL/AbstractOperations.cpp
|
||||
WebIDL/CallbackType.cpp
|
||||
WebIDL/OverloadResolution.cpp
|
||||
WebSockets/WebSocket.cpp
|
||||
XHR/EventNames.cpp
|
||||
XHR/ProgressEvent.cpp
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
#include <LibJS/Runtime/FunctionObject.h>
|
||||
#include <LibJS/Runtime/TypedArray.h>
|
||||
#include <LibJS/Runtime/Value.h>
|
||||
#include <LibWeb/Bindings/IDLOverloadResolution.h>
|
||||
#include <LibWeb/Bindings/PlatformObject.h>
|
||||
#include <LibWeb/WebIDL/OverloadResolution.h>
|
||||
|
||||
namespace Web::Bindings {
|
||||
namespace Web::WebIDL {
|
||||
|
||||
// https://webidl.spec.whatwg.org/#dfn-convert-ecmascript-to-idl-value
|
||||
static JS::Value convert_ecmascript_type_to_idl_value(JS::Value value, IDL::Type const&)
|
|
@ -11,7 +11,7 @@
|
|||
#include <LibIDL/Types.h>
|
||||
#include <LibJS/Runtime/VM.h>
|
||||
|
||||
namespace Web::Bindings {
|
||||
namespace Web::WebIDL {
|
||||
|
||||
struct ResolvedOverload {
|
||||
// Corresponds to "the special value “missing”" in the overload resolution algorithm.
|
Loading…
Add table
Add a link
Reference in a new issue