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

#include <bytecode-source-info.h>

Collaboration diagram for v8::internal::interpreter::BytecodeSourceInfo:

Public Member Functions

 BytecodeSourceInfo ()
 
 BytecodeSourceInfo (int source_position, bool is_statement)
 
void MakeStatementPosition (int source_position)
 
void MakeExpressionPosition (int source_position)
 
void ForceExpressionPosition (int source_position)
 
int source_position () const
 
bool is_statement () const
 
bool is_expression () const
 
bool is_valid () const
 
void set_invalid ()
 
bool operator== (const BytecodeSourceInfo &other) const
 
bool operator!= (const BytecodeSourceInfo &other) const
 

Static Public Attributes

static const int kUninitializedPosition = -1
 

Private Types

enum class  PositionType : uint8_t { kNone , kExpression , kStatement }
 

Private Attributes

PositionType position_type_
 
int source_position_
 

Detailed Description

Definition at line 15 of file bytecode-source-info.h.

Member Enumeration Documentation

◆ PositionType

Enumerator
kNone 
kExpression 
kStatement 

Definition at line 85 of file bytecode-source-info.h.

Constructor & Destructor Documentation

◆ BytecodeSourceInfo() [1/2]

v8::internal::interpreter::BytecodeSourceInfo::BytecodeSourceInfo ( )
inline

Definition at line 19 of file bytecode-source-info.h.

◆ BytecodeSourceInfo() [2/2]

v8::internal::interpreter::BytecodeSourceInfo::BytecodeSourceInfo ( int source_position,
bool is_statement )
inline

Definition at line 23 of file bytecode-source-info.h.

Here is the call graph for this function:

Member Function Documentation

◆ ForceExpressionPosition()

void v8::internal::interpreter::BytecodeSourceInfo::ForceExpressionPosition ( int source_position)
inline

Definition at line 51 of file bytecode-source-info.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_expression()

bool v8::internal::interpreter::BytecodeSourceInfo::is_expression ( ) const
inline

Definition at line 64 of file bytecode-source-info.h.

◆ is_statement()

bool v8::internal::interpreter::BytecodeSourceInfo::is_statement ( ) const
inline

Definition at line 61 of file bytecode-source-info.h.

Here is the caller graph for this function:

◆ is_valid()

bool v8::internal::interpreter::BytecodeSourceInfo::is_valid ( ) const
inline

Definition at line 68 of file bytecode-source-info.h.

Here is the caller graph for this function:

◆ MakeExpressionPosition()

void v8::internal::interpreter::BytecodeSourceInfo::MakeExpressionPosition ( int source_position)
inline

Definition at line 44 of file bytecode-source-info.h.

Here is the call graph for this function:

◆ MakeStatementPosition()

void v8::internal::interpreter::BytecodeSourceInfo::MakeStatementPosition ( int source_position)
inline

Definition at line 31 of file bytecode-source-info.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator!=()

bool v8::internal::interpreter::BytecodeSourceInfo::operator!= ( const BytecodeSourceInfo & other) const
inline

Definition at line 79 of file bytecode-source-info.h.

◆ operator==()

bool v8::internal::interpreter::BytecodeSourceInfo::operator== ( const BytecodeSourceInfo & other) const
inline

Definition at line 74 of file bytecode-source-info.h.

◆ set_invalid()

void v8::internal::interpreter::BytecodeSourceInfo::set_invalid ( )
inline

Definition at line 69 of file bytecode-source-info.h.

Here is the caller graph for this function:

◆ source_position()

int v8::internal::interpreter::BytecodeSourceInfo::source_position ( ) const
inline

Definition at line 56 of file bytecode-source-info.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ kUninitializedPosition

const int v8::internal::interpreter::BytecodeSourceInfo::kUninitializedPosition = -1
static

Definition at line 17 of file bytecode-source-info.h.

◆ position_type_

PositionType v8::internal::interpreter::BytecodeSourceInfo::position_type_
private

Definition at line 87 of file bytecode-source-info.h.

◆ source_position_

int v8::internal::interpreter::BytecodeSourceInfo::source_position_
private

Definition at line 88 of file bytecode-source-info.h.


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