#include <flags-impl.h>
|
enum | FlagType {
TYPE_BOOL
, TYPE_MAYBE_BOOL
, TYPE_INT
, TYPE_UINT
,
TYPE_UINT64
, TYPE_FLOAT
, TYPE_SIZE_T
, TYPE_STRING
} |
|
enum class | SetBy { kDefault
, kWeakImplication
, kImplication
, kCommandLine
} |
|
|
constexpr bool | IsAnyImplication (Flag::SetBy set_by) |
|
FlagType | type () const |
|
const char * | name () const |
|
const char * | comment () const |
|
bool | PointsTo (const void *ptr) const |
|
bool | bool_variable () const |
|
void | set_bool_variable (bool value, SetBy set_by) |
|
std::optional< bool > | maybe_bool_variable () const |
|
void | set_maybe_bool_variable (std::optional< bool > value, SetBy set_by) |
|
int | int_variable () const |
|
void | set_int_variable (int value, SetBy set_by) |
|
unsigned int | uint_variable () const |
|
void | set_uint_variable (unsigned int value, SetBy set_by) |
|
uint64_t | uint64_variable () const |
|
void | set_uint64_variable (uint64_t value, SetBy set_by) |
|
double | float_variable () const |
|
void | set_float_variable (double value, SetBy set_by) |
|
size_t | size_t_variable () const |
|
void | set_size_t_variable (size_t value, SetBy set_by) |
|
const char * | string_value () const |
|
void | set_string_value (const char *new_value, bool owns_new_value, SetBy set_by) |
|
template<typename T > |
T | GetDefaultValue () const |
|
bool | bool_default () const |
|
int | int_default () const |
|
unsigned int | uint_default () const |
|
uint64_t | uint64_default () const |
|
double | float_default () const |
|
size_t | size_t_default () const |
|
const char * | string_default () const |
|
bool | CheckFlagChange (SetBy new_set_by, bool change_flag, const char *implied_by=nullptr) |
|
bool | IsReadOnly () const |
|
template<FlagType flag_type, typename T > |
T | GetValue () const |
|
template<FlagType flag_type, typename T > |
void | SetValue (T new_value, SetBy set_by) |
|
bool | IsDefault () const |
|
void | ReleaseDynamicAllocations () |
|
V8_EXPORT_PRIVATE void | Reset () |
|
void | AllowOverwriting () |
|
Definition at line 54 of file flags-impl.h.
◆ FlagType
Enumerator |
---|
TYPE_BOOL | |
TYPE_MAYBE_BOOL | |
TYPE_INT | |
TYPE_UINT | |
TYPE_UINT64 | |
TYPE_FLOAT | |
TYPE_SIZE_T | |
TYPE_STRING | |
Definition at line 55 of file flags-impl.h.
◆ SetBy
Enumerator |
---|
kDefault | |
kWeakImplication | |
kImplication | |
kCommandLine | |
Definition at line 66 of file flags-impl.h.
◆ AllowOverwriting()
void v8::internal::Flag::AllowOverwriting |
( |
| ) |
|
|
inline |
◆ bool_default()
bool v8::internal::Flag::bool_default |
( |
| ) |
const |
|
inline |
◆ bool_variable()
bool v8::internal::Flag::bool_variable |
( |
| ) |
const |
|
inline |
◆ CheckFlagChange()
bool v8::internal::Flag::CheckFlagChange |
( |
SetBy | new_set_by, |
|
|
bool | change_flag, |
|
|
const char * | implied_by = nullptr ) |
◆ comment()
const char * v8::internal::Flag::comment |
( |
| ) |
const |
|
inline |
◆ float_default()
double v8::internal::Flag::float_default |
( |
| ) |
const |
|
inline |
◆ float_variable()
double v8::internal::Flag::float_variable |
( |
| ) |
const |
|
inline |
◆ GetDefaultValue()
T v8::internal::Flag::GetDefaultValue |
( |
| ) |
const |
|
inline |
◆ GetValue()
T v8::internal::Flag::GetValue |
( |
| ) |
const |
|
inline |
◆ int_default()
int v8::internal::Flag::int_default |
( |
| ) |
const |
|
inline |
◆ int_variable()
int v8::internal::Flag::int_variable |
( |
| ) |
const |
|
inline |
◆ IsAnyImplication()
◆ IsDefault()
bool v8::internal::Flag::IsDefault |
( |
| ) |
const |
◆ IsReadOnly()
bool v8::internal::Flag::IsReadOnly |
( |
| ) |
const |
|
inline |
◆ maybe_bool_variable()
std::optional< bool > v8::internal::Flag::maybe_bool_variable |
( |
| ) |
const |
|
inline |
◆ name()
const char * v8::internal::Flag::name |
( |
| ) |
const |
|
inline |
◆ PointsTo()
bool v8::internal::Flag::PointsTo |
( |
const void * | ptr | ) |
const |
|
inline |
◆ ReleaseDynamicAllocations()
void v8::internal::Flag::ReleaseDynamicAllocations |
( |
| ) |
|
◆ Reset()
void v8::internal::Flag::Reset |
( |
| ) |
|
◆ set_bool_variable()
void v8::internal::Flag::set_bool_variable |
( |
bool | value, |
|
|
SetBy | set_by ) |
|
inline |
◆ set_float_variable()
void v8::internal::Flag::set_float_variable |
( |
double | value, |
|
|
SetBy | set_by ) |
|
inline |
◆ set_int_variable()
void v8::internal::Flag::set_int_variable |
( |
int | value, |
|
|
SetBy | set_by ) |
|
inline |
◆ set_maybe_bool_variable()
void v8::internal::Flag::set_maybe_bool_variable |
( |
std::optional< bool > | value, |
|
|
SetBy | set_by ) |
|
inline |
◆ set_size_t_variable()
void v8::internal::Flag::set_size_t_variable |
( |
size_t | value, |
|
|
SetBy | set_by ) |
|
inline |
◆ set_string_value()
void v8::internal::Flag::set_string_value |
( |
const char * | new_value, |
|
|
bool | owns_new_value, |
|
|
SetBy | set_by ) |
◆ set_uint64_variable()
void v8::internal::Flag::set_uint64_variable |
( |
uint64_t | value, |
|
|
SetBy | set_by ) |
|
inline |
◆ set_uint_variable()
void v8::internal::Flag::set_uint_variable |
( |
unsigned int | value, |
|
|
SetBy | set_by ) |
|
inline |
◆ SetValue()
void v8::internal::Flag::SetValue |
( |
T | new_value, |
|
|
SetBy | set_by ) |
|
inline |
◆ ShouldCheckFlagContradictions()
static bool v8::internal::Flag::ShouldCheckFlagContradictions |
( |
| ) |
|
|
static |
◆ size_t_default()
size_t v8::internal::Flag::size_t_default |
( |
| ) |
const |
|
inline |
◆ size_t_variable()
size_t v8::internal::Flag::size_t_variable |
( |
| ) |
const |
|
inline |
◆ string_default()
const char * v8::internal::Flag::string_default |
( |
| ) |
const |
|
inline |
◆ string_value()
const char * v8::internal::Flag::string_value |
( |
| ) |
const |
|
inline |
◆ type()
FlagType v8::internal::Flag::type |
( |
| ) |
const |
|
inline |
◆ uint64_default()
uint64_t v8::internal::Flag::uint64_default |
( |
| ) |
const |
|
inline |
◆ uint64_variable()
uint64_t v8::internal::Flag::uint64_variable |
( |
| ) |
const |
|
inline |
◆ uint_default()
unsigned int v8::internal::Flag::uint_default |
( |
| ) |
const |
|
inline |
◆ uint_variable()
unsigned int v8::internal::Flag::uint_variable |
( |
| ) |
const |
|
inline |
◆ cmt_
const char* v8::internal::Flag::cmt_ |
◆ defptr_
const void* v8::internal::Flag::defptr_ |
◆ implied_by_
const char* v8::internal::Flag::implied_by_ = nullptr |
◆ name_
const char* v8::internal::Flag::name_ |
◆ owns_ptr_
bool v8::internal::Flag::owns_ptr_ |
◆ set_by_
◆ type_
◆ valptr_
void* v8::internal::Flag::valptr_ |
The documentation for this struct was generated from the following files: