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

#include <source-positions.h>

Collaboration diagram for v8::internal::torque::LineAndColumn:

Public Member Functions

bool operator== (const LineAndColumn &other) const
 
bool operator!= (const LineAndColumn &other) const
 

Static Public Member Functions

static LineAndColumn Invalid ()
 
static LineAndColumn WithUnknownOffset (int line, int column)
 

Public Attributes

int offset
 
int line
 
int column
 

Static Public Attributes

static constexpr int kUnknownOffset = -1
 

Detailed Description

Definition at line 32 of file source-positions.h.

Member Function Documentation

◆ Invalid()

static LineAndColumn v8::internal::torque::LineAndColumn::Invalid ( )
inlinestatic

Definition at line 39 of file source-positions.h.

Here is the caller graph for this function:

◆ operator!=()

bool v8::internal::torque::LineAndColumn::operator!= ( const LineAndColumn & other) const
inline

Definition at line 52 of file source-positions.h.

Here is the call graph for this function:

◆ operator==()

bool v8::internal::torque::LineAndColumn::operator== ( const LineAndColumn & other) const
inline

Definition at line 44 of file source-positions.h.

Here is the caller graph for this function:

◆ WithUnknownOffset()

static LineAndColumn v8::internal::torque::LineAndColumn::WithUnknownOffset ( int line,
int column )
inlinestatic

Definition at line 40 of file source-positions.h.

Member Data Documentation

◆ column

int v8::internal::torque::LineAndColumn::column

Definition at line 37 of file source-positions.h.

◆ kUnknownOffset

int v8::internal::torque::LineAndColumn::kUnknownOffset = -1
staticconstexpr

Definition at line 33 of file source-positions.h.

◆ line

int v8::internal::torque::LineAndColumn::line

Definition at line 36 of file source-positions.h.

◆ offset

int v8::internal::torque::LineAndColumn::offset

Definition at line 35 of file source-positions.h.


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