ladybird/Userland/Libraries/LibWeb/WebAssembly
Linus Groh 85f0fc2b83 LibJS: Return Optional<T> from Completion::{value,target}(), not T
In the end this is a nicer API than having separate has_{value,target}()
and having to check those first, and then making another Optional from
the unwrapped value:

    completion.has_value() ? completion.value() : Optional<Value> {}
    //                       ^^^^^^^^^^^^^^^^^^
    //         Implicit creation of non-empty Optional<Value>

This way we need to unwrap the optional ourselves, but can easily pass
it to something else as well.

This is in anticipation of the AST using completions :^)
2022-01-03 21:50:50 +01:00
..
WebAssemblyInstanceConstructor.cpp LibWeb: Convert WebAssemblyObject AOs to ThrowCompletionOr 2021-10-31 18:20:37 +02:00
WebAssemblyInstanceConstructor.h LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
WebAssemblyInstanceObject.cpp LibWeb: Make GlobalObject the first parameter of WebAssembly AOs 2021-10-31 18:20:37 +02:00
WebAssemblyInstanceObject.h LibWeb: Split the WebAssemblyInstance object logic into multiple files 2021-07-02 04:53:01 +04:30
WebAssemblyInstanceObjectPrototype.cpp LibWeb: Convert WebAssemblyInstancePrototype funcs to ThrowCompletionOr 2021-10-31 18:20:37 +02:00
WebAssemblyInstanceObjectPrototype.h LibWeb: Convert WebAssemblyInstancePrototype funcs to ThrowCompletionOr 2021-10-31 18:20:37 +02:00
WebAssemblyMemoryConstructor.cpp LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
WebAssemblyMemoryConstructor.h LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
WebAssemblyMemoryPrototype.cpp LibWeb: Convert WebAssemblyMemoryPrototype funcs to ThrowCompletionOr 2021-10-31 18:20:37 +02:00
WebAssemblyMemoryPrototype.h LibWeb: Convert WebAssemblyMemoryPrototype funcs to ThrowCompletionOr 2021-10-31 18:20:37 +02:00
WebAssemblyModuleConstructor.cpp LibWeb: Convert WebAssemblyObject AOs to ThrowCompletionOr 2021-10-31 18:20:37 +02:00
WebAssemblyModuleConstructor.h LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
WebAssemblyModuleObject.cpp LibWeb: Add the WebAssembly.Module constructor 2021-07-02 04:53:01 +04:30
WebAssemblyModuleObject.h LibWeb: Add the WebAssembly.Module constructor 2021-07-02 04:53:01 +04:30
WebAssemblyModulePrototype.h LibWeb: Add the WebAssembly.Module constructor 2021-07-02 04:53:01 +04:30
WebAssemblyObject.cpp LibJS: Return Optional<T> from Completion::{value,target}(), not T 2022-01-03 21:50:50 +01:00
WebAssemblyObject.h LibWeb: Convert WebAssemblyObject functions to ThrowCompletionOr 2021-10-31 18:20:37 +02:00
WebAssemblyTableConstructor.cpp LibWeb: Convert WebAssemblyObject AOs to ThrowCompletionOr 2021-10-31 18:20:37 +02:00
WebAssemblyTableConstructor.h LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
WebAssemblyTableObject.cpp LibWeb+LibWasm: Implement the WebAssembly.Table object 2021-09-05 15:42:50 +04:30
WebAssemblyTableObject.h LibWeb+LibWasm: Implement the WebAssembly.Table object 2021-09-05 15:42:50 +04:30
WebAssemblyTablePrototype.cpp LibWeb: Convert WebAssemblyTablePrototype funcs to ThrowCompletionOr 2021-10-31 18:20:37 +02:00
WebAssemblyTablePrototype.h LibWeb: Convert WebAssemblyTablePrototype funcs to ThrowCompletionOr 2021-10-31 18:20:37 +02:00