V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::wasm::Result< T > Class Template Reference
Inheritance diagram for v8::internal::wasm::Result< T >:
v8::internal::wasm::ResultBase

Public Member Functions

template<typename S >
 Result (S &&value)
 
template<typename S >
 Result (Result< S > &&other) V8_NOEXCEPT
 
Resultoperator= (Result &&other) V8_NOEXCEPT=default
 
static Result< T > const char va_start (args, format)
 
 va_end (args)
 
const Tvalue () const &
 
T && value () &&
 
- Public Member Functions inherited from v8::internal::wasm::ResultBase
 ResultBase (ResultBase &&other) V8_NOEXCEPT
 
bool ok () const
 
bool failed () const
 
uint32_t error_offset () const
 
const std::string & error_msg () const &
 
std::string && error_msg () &&
 

Static Public Member Functions

static Result< TPRINTF_FORMAT (2, 3) Error(uint32_t offset
 
static Result< TError (uint32_t error_offset, std::string error_msg)
 
static Result< TErrorFrom (ResultBase &&error_result)
 
static Result< TErrorFrom (const ResultBase &error_result)
 

Public Attributes

static Result< T > const charformat
 
Result< Terror_result {offset, FormatError(format, args)}
 
return error_result
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::wasm::ResultBase
ResultBaseoperator= (ResultBase &&other) V8_NOEXCEPT=default
 
 ResultBase (uint32_t error_offset, std::string error_msg)
 
- Static Protected Member Functions inherited from v8::internal::wasm::ResultBase
static std::string FormatError (const char *format, va_list args)
 

Detailed Description

template<typename T>
class v8::internal::wasm::Result< T >

Definition at line 60 of file wasm-result.h.


The documentation for this class was generated from the following file: