Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CJS_Result Class Reference

#include <cjs_result.h>

+ Collaboration diagram for CJS_Result:

Public Member Functions

 CJS_Result (const CJS_Result &)
 
 ~CJS_Result ()
 
bool HasError () const
 
const WideStringError () const
 
bool HasReturn () const
 
v8::Local< v8::Value > Return () const
 

Static Public Member Functions

static CJS_Result Success ()
 
static CJS_Result Success (v8::Local< v8::Value > value)
 
static CJS_Result Failure (const WideString &str)
 
static CJS_Result Failure (JSMessage id)
 

Detailed Description

Definition at line 14 of file cjs_result.h.

Constructor & Destructor Documentation

◆ CJS_Result()

CJS_Result::CJS_Result ( const CJS_Result & )
default

◆ ~CJS_Result()

CJS_Result::~CJS_Result ( )
default

Member Function Documentation

◆ Error()

const WideString & CJS_Result::Error ( ) const
inline

Definition at line 42 of file cjs_result.h.

Referenced by JSMethod(), JSPropGetter(), and JSPropSetter().

+ Here is the caller graph for this function:

◆ Failure() [1/2]

static CJS_Result CJS_Result::Failure ( const WideString & str)
inlinestaticnodiscard

Definition at line 31 of file cjs_result.h.

Referenced by CJS_PublicMethods::AFNumber_Keystroke(), and CFXJSE_Engine::NormalMethodCall().

+ Here is the caller graph for this function:

◆ Failure() [2/2]

◆ HasError()

bool CJS_Result::HasError ( ) const
inline

Definition at line 41 of file cjs_result.h.

Referenced by JSMethod(), JSPropGetter(), JSPropSetter(), TEST_F(), and TEST_F().

+ Here is the caller graph for this function:

◆ HasReturn()

bool CJS_Result::HasReturn ( ) const
inline

Definition at line 44 of file cjs_result.h.

Referenced by JSMethod(), JSPropGetter(), TEST_F(), and TEST_F().

+ Here is the caller graph for this function:

◆ Return()

v8::Local< v8::Value > CJS_Result::Return ( ) const
inline

Definition at line 45 of file cjs_result.h.

◆ Success() [1/2]

◆ Success() [2/2]

static CJS_Result CJS_Result::Success ( v8::Local< v8::Value > value)
inlinestaticnodiscard

Definition at line 28 of file cjs_result.h.


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