Jerryscript::Array::IndexedItem Struct Reference

Iterator and operator[] access uses this wrapper class so items may be written or read. More...

#include <Types.h>

Public Member Functions

unsigned index () const
 
 operator Value () const
 
 operator String () const
 
IndexedItemoperator= (const Value &value)
 
bool operator== (const IndexedItem &rhs) const
 

Friends

class Array
 
class Iterator
 

Detailed Description

Iterator and operator[] access uses this wrapper class so items may be written or read.

Member Function Documentation

◆ index()

unsigned Jerryscript::Array::IndexedItem::index ( ) const
inline

◆ operator String()

Jerryscript::Array::IndexedItem::operator String ( ) const
inline

◆ operator Value()

Jerryscript::Array::IndexedItem::operator Value ( ) const
inline

◆ operator=()

IndexedItem& Jerryscript::Array::IndexedItem::operator= ( const Value value)
inline

◆ operator==()

bool Jerryscript::Array::IndexedItem::operator== ( const IndexedItem rhs) const
inline

Friends And Related Function Documentation

◆ Array

friend class Array
friend

◆ Iterator

friend class Iterator
friend

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