![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <parse-info.h>
Classes | |
struct | BitFields |
Public Member Functions | |
int | script_id () const |
UnoptimizedCompileFlags & | set_script_id (int value) |
FunctionKind | function_kind () const |
UnoptimizedCompileFlags & | set_function_kind (FunctionKind value) |
FunctionSyntaxKind | function_syntax_kind () const |
UnoptimizedCompileFlags & | set_function_syntax_kind (FunctionSyntaxKind value) |
ParsingWhileDebugging | parsing_while_debugging () const |
UnoptimizedCompileFlags & | set_parsing_while_debugging (ParsingWhileDebugging value) |
Static Public Member Functions | |
static UnoptimizedCompileFlags | ForToplevelCompile (Isolate *isolate, bool is_user_javascript, LanguageMode language_mode, REPLMode repl_mode, ScriptType type, bool lazy) |
static UnoptimizedCompileFlags | ForFunctionCompile (Isolate *isolate, Tagged< SharedFunctionInfo > shared) |
static UnoptimizedCompileFlags | ForScriptCompile (Isolate *isolate, Tagged< Script > script) |
static UnoptimizedCompileFlags | ForToplevelFunction (const UnoptimizedCompileFlags toplevel_flags, const FunctionLiteral *literal) |
static UnoptimizedCompileFlags | ForTest (Isolate *isolate) |
Private Member Functions | |
UnoptimizedCompileFlags (Isolate *isolate, int script_id) | |
template<typename T > | |
void | SetFlagsFromFunction (T function) |
void | SetFlagsForToplevelCompile (bool is_user_javascript, LanguageMode language_mode, REPLMode repl_mode, ScriptType type, bool lazy) |
void | SetFlagsForFunctionFromScript (Tagged< Script > script) |
Private Attributes | |
uint32_t | flags_ |
int | script_id_ |
FunctionKind | function_kind_ |
FunctionSyntaxKind | function_syntax_kind_ |
ParsingWhileDebugging | parsing_while_debugging_ |
Definition at line 70 of file parse-info.h.
|
private |
|
static |
Definition at line 46 of file parse-info.cc.
|
static |
Definition at line 69 of file parse-info.cc.
|
static |
|
static |
|
static |
|
inline |
Definition at line 112 of file parse-info.h.
|
inline |
Definition at line 118 of file parse-info.h.
|
inline |
Definition at line 126 of file parse-info.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 129 of file parse-info.h.
|
inline |
Definition at line 107 of file parse-info.h.
|
private |
|
private |
Definition at line 118 of file parse-info.cc.
|
private |
Definition at line 152 of file parse-info.h.
|
private |
Definition at line 154 of file parse-info.h.
|
private |
Definition at line 155 of file parse-info.h.
|
private |
Definition at line 156 of file parse-info.h.
|
private |
Definition at line 153 of file parse-info.h.