V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::SourcePosition Class Referencefinal

Public Member Functions

 SourcePosition (int script_offset, int inlining_id=kNotInlined)
 
bool IsKnown () const
 
bool isInlined () const
 
std::vector< SourcePositionInfoInliningStack (Handle< Code > code) const
 
std::vector< SourcePositionInfoInliningStack (OptimizedCompilationInfo *cinfo) const
 
void Print (std::ostream &out, Code code) const
 
void PrintJson (std::ostream &out) const
 
int ScriptOffset () const
 
int InliningId () const
 
void SetScriptOffset (int script_offset)
 
void SetInliningId (int inlining_id)
 
 STATIC_ASSERT (kNoSourcePosition==-1)
 
int64_t raw () const
 

Static Public Member Functions

static SourcePosition Unknown ()
 
static SourcePosition FromRaw (int64_t raw)
 

Static Public Attributes

static const int kNotInlined = -1
 

Detailed Description

Definition at line 31 of file source-position.h.


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