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

#include <ast-source-ranges.h>

Inheritance diagram for v8::internal::ConditionalSourceRanges:
Collaboration diagram for v8::internal::ConditionalSourceRanges:

Public Member Functions

 ConditionalSourceRanges (const SourceRange &then_range, const SourceRange &else_range)
 
SourceRange GetRange (SourceRangeKind kind) override
 
bool HasRange (SourceRangeKind kind) override
 
- Public Member Functions inherited from v8::internal::AstNodeSourceRanges
virtual ~AstNodeSourceRanges ()=default
 
virtual void RemoveContinuationRange ()
 
- Public Member Functions inherited from v8::internal::ZoneObject
void * operator new (size_t, Zone *)=delete
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)=delete
 

Private Attributes

SourceRange then_range_
 
SourceRange else_range_
 

Detailed Description

Definition at line 179 of file ast-source-ranges.h.

Constructor & Destructor Documentation

◆ ConditionalSourceRanges()

v8::internal::ConditionalSourceRanges::ConditionalSourceRanges ( const SourceRange & then_range,
const SourceRange & else_range )
inlineexplicit

Definition at line 181 of file ast-source-ranges.h.

Member Function Documentation

◆ GetRange()

SourceRange v8::internal::ConditionalSourceRanges::GetRange ( SourceRangeKind kind)
inlineoverridevirtual

Implements v8::internal::AstNodeSourceRanges.

Definition at line 185 of file ast-source-ranges.h.

Here is the call graph for this function:

◆ HasRange()

bool v8::internal::ConditionalSourceRanges::HasRange ( SourceRangeKind kind)
inlineoverridevirtual

Implements v8::internal::AstNodeSourceRanges.

Definition at line 197 of file ast-source-ranges.h.

Here is the caller graph for this function:

Member Data Documentation

◆ else_range_

SourceRange v8::internal::ConditionalSourceRanges::else_range_
private

Definition at line 203 of file ast-source-ranges.h.

◆ then_range_

SourceRange v8::internal::ConditionalSourceRanges::then_range_
private

Definition at line 202 of file ast-source-ranges.h.


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