v8  10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
ScriptOriginOptions Class Reference

#include <v8-message.h>

Public Member Functions

V8_INLINE ScriptOriginOptions (bool is_shared_cross_origin=false, bool is_opaque=false, bool is_wasm=false, bool is_module=false)
 
V8_INLINE ScriptOriginOptions (int flags)
 
bool IsSharedCrossOrigin () const
 
bool IsOpaque () const
 
bool IsWasm () const
 
bool IsModule () const
 
int Flags () const
 

Detailed Description

The optional attributes of ScriptOrigin.

Definition at line 28 of file v8-message.h.

Constructor & Destructor Documentation

◆ ScriptOriginOptions() [1/2]

V8_INLINE ScriptOriginOptions ( bool  is_shared_cross_origin = false,
bool  is_opaque = false,
bool  is_wasm = false,
bool  is_module = false 
)
inline

Definition at line 30 of file v8-message.h.

Referenced by ScriptOrigin::ScriptOrigin().

◆ ScriptOriginOptions() [2/2]

V8_INLINE ScriptOriginOptions ( int  flags)
inline

Definition at line 36 of file v8-message.h.

Member Function Documentation

◆ Flags()

int Flags ( ) const
inline

Definition at line 47 of file v8-message.h.

◆ IsModule()

bool IsModule ( ) const
inline

Definition at line 45 of file v8-message.h.

◆ IsOpaque()

bool IsOpaque ( ) const
inline

Definition at line 43 of file v8-message.h.

◆ IsSharedCrossOrigin()

bool IsSharedCrossOrigin ( ) const
inline

Definition at line 40 of file v8-message.h.

◆ IsWasm()

bool IsWasm ( ) const
inline

Definition at line 44 of file v8-message.h.


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