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

#include <ast-source-ranges.h>

Inheritance diagram for v8::internal::IterationStatementSourceRanges:
Collaboration diagram for v8::internal::IterationStatementSourceRanges:

Public Member Functions

 IterationStatementSourceRanges (const SourceRange &body_range)
 
SourceRange GetRange (SourceRangeKind kind) override
 
bool HasRange (SourceRangeKind kind) override
 
void RemoveContinuationRange () override
 
- Public Member Functions inherited from v8::internal::AstNodeSourceRanges
virtual ~AstNodeSourceRanges ()=default
 
- 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 body_range_
 
bool has_continuation_ = true
 

Detailed Description

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

Constructor & Destructor Documentation

◆ IterationStatementSourceRanges()

v8::internal::IterationStatementSourceRanges::IterationStatementSourceRanges ( const SourceRange & body_range)
inlineexplicit

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

Member Function Documentation

◆ GetRange()

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

Implements v8::internal::AstNodeSourceRanges.

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

Here is the call graph for this function:

◆ HasRange()

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

Implements v8::internal::AstNodeSourceRanges.

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

Here is the caller graph for this function:

◆ RemoveContinuationRange()

void v8::internal::IterationStatementSourceRanges::RemoveContinuationRange ( )
inlineoverridevirtual

Reimplemented from v8::internal::AstNodeSourceRanges.

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

Here is the call graph for this function:

Member Data Documentation

◆ body_range_

SourceRange v8::internal::IterationStatementSourceRanges::body_range_
private

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

◆ has_continuation_

bool v8::internal::IterationStatementSourceRanges::has_continuation_ = true
private

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


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