v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::FlagList::HelpOptions Class Reference

#include <flags.h>

Collaboration diagram for v8::internal::FlagList::HelpOptions:

Public Types

enum  ExitBehavior : bool { kExit = true , kDontExit = false }
 

Public Member Functions

 HelpOptions (ExitBehavior exit_behavior=kExit, const char *usage=nullptr)
 
bool ShouldExit ()
 
bool HasUsage ()
 
const char * usage ()
 

Private Attributes

ExitBehavior exit_behavior_
 
const char * usage_
 

Detailed Description

Definition at line 79 of file flags.h.

Member Enumeration Documentation

◆ ExitBehavior

Enumerator
kExit 
kDontExit 

Definition at line 81 of file flags.h.

Constructor & Destructor Documentation

◆ HelpOptions()

v8::internal::FlagList::HelpOptions::HelpOptions ( ExitBehavior exit_behavior = kExit,
const char * usage = nullptr )
inlineexplicit

Definition at line 83 of file flags.h.

Member Function Documentation

◆ HasUsage()

bool v8::internal::FlagList::HelpOptions::HasUsage ( )
inline

Definition at line 88 of file flags.h.

◆ ShouldExit()

bool v8::internal::FlagList::HelpOptions::ShouldExit ( )
inline

Definition at line 87 of file flags.h.

◆ usage()

const char * v8::internal::FlagList::HelpOptions::usage ( )
inline

Definition at line 89 of file flags.h.

Member Data Documentation

◆ exit_behavior_

ExitBehavior v8::internal::FlagList::HelpOptions::exit_behavior_
private

Definition at line 92 of file flags.h.

◆ usage_

const char* v8::internal::FlagList::HelpOptions::usage_
private

Definition at line 93 of file flags.h.


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