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

#include <string-inl.h>

Collaboration diagram for v8::internal::SubStringRange::iterator:

Public Types

using iterator_category = std::forward_iterator_tag
 
using difference_type = int
 
using value_type = base::uc16
 
using pointer = base::uc16*
 
using reference = base::uc16&
 

Public Member Functions

 iterator (const iterator &other)=default
 
base::uc16 operator* ()
 
bool operator== (const iterator &other) const
 
bool operator!= (const iterator &other) const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 

Private Member Functions

 iterator (Tagged< String > from, int offset, const DisallowGarbageCollection &no_gc)
 

Private Attributes

String::FlatContent content_
 
int offset_
 

Friends

class String
 
class SubStringRange
 

Detailed Description

Definition at line 1627 of file string-inl.h.

Member Typedef Documentation

◆ difference_type

◆ iterator_category

Definition at line 1629 of file string-inl.h.

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ iterator() [1/2]

v8::internal::SubStringRange::iterator::iterator ( const iterator & other)
default

◆ iterator() [2/2]

v8::internal::SubStringRange::iterator::iterator ( Tagged< String > from,
int offset,
const DisallowGarbageCollection & no_gc )
inlineprivate

Definition at line 1653 of file string-inl.h.

Member Function Documentation

◆ operator!=()

bool v8::internal::SubStringRange::iterator::operator!= ( const iterator & other) const
inline

Definition at line 1641 of file string-inl.h.

Here is the call graph for this function:

◆ operator*()

base::uc16 v8::internal::SubStringRange::iterator::operator* ( )
inline

Definition at line 1637 of file string-inl.h.

Here is the call graph for this function:

◆ operator++() [1/2]

iterator & v8::internal::SubStringRange::iterator::operator++ ( )
inline

Definition at line 1644 of file string-inl.h.

◆ operator++() [2/2]

iterator v8::internal::SubStringRange::iterator::operator++ ( int )

◆ operator==()

bool v8::internal::SubStringRange::iterator::operator== ( const iterator & other) const
inline

Definition at line 1638 of file string-inl.h.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ String

friend class String
friend

Definition at line 1651 of file string-inl.h.

◆ SubStringRange

friend class SubStringRange
friend

Definition at line 1652 of file string-inl.h.

Member Data Documentation

◆ content_

String::FlatContent v8::internal::SubStringRange::iterator::content_
private

Definition at line 1656 of file string-inl.h.

◆ offset_

int v8::internal::SubStringRange::iterator::offset_
private

Definition at line 1657 of file string-inl.h.


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