Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qv4compilercontext_p.h>
Public Member Functions | |
void | insert (quint32 key, quint32 value) |
Public Member Functions inherited from QVarLengthArray< KeyValuePair, 8 > | |
QVarLengthArray () noexcept | |
QVarLengthArray (qsizetype size) | |
QVarLengthArray (qsizetype sz, const KeyValuePair &v) | |
QVarLengthArray (const QVarLengthArray &other) | |
QVarLengthArray (QVarLengthArray &&other) noexcept(std::is_nothrow_move_constructible_v< KeyValuePair >) | |
QVarLengthArray (std::initializer_list< KeyValuePair > args) | |
QVarLengthArray (InputIterator first, InputIterator last) | |
~QVarLengthArray () | |
QVarLengthArray< KeyValuePair, Prealloc > & | operator= (const QVarLengthArray< KeyValuePair, Prealloc > &other) |
QVarLengthArray & | operator= (QVarLengthArray &&other) noexcept(std::is_nothrow_move_constructible_v< KeyValuePair >) |
QVarLengthArray< KeyValuePair, Prealloc > & | operator= (std::initializer_list< KeyValuePair > list) |
void | removeLast () |
qsizetype | count () const |
qsizetype | length () const |
KeyValuePair & | first () |
const KeyValuePair & | first () const |
KeyValuePair & | last () |
const KeyValuePair & | last () const |
bool | isEmpty () const |
void | resize (qsizetype sz) |
void | resize (qsizetype sz, const KeyValuePair &v) |
void | squeeze () |
void | reserve (qsizetype sz) |
const KeyValuePair & | at (qsizetype idx) const |
void | append (const KeyValuePair &t) |
void | append (KeyValuePair &&t) |
void | append (const KeyValuePair *buf, qsizetype sz) |
QVarLengthArray< KeyValuePair, Prealloc > & | operator<< (const KeyValuePair &t) |
QVarLengthArray< KeyValuePair, Prealloc > & | operator<< (KeyValuePair &&t) |
QVarLengthArray< KeyValuePair, Prealloc > & | operator+= (const KeyValuePair &t) |
QVarLengthArray< KeyValuePair, Prealloc > & | operator+= (KeyValuePair &&t) |
void | insert (qsizetype i, KeyValuePair &&t) |
void | insert (qsizetype i, const KeyValuePair &t) |
void | insert (qsizetype i, qsizetype n, const KeyValuePair &t) |
iterator | insert (const_iterator before, qsizetype n, const KeyValuePair &x) |
iterator | insert (const_iterator before, KeyValuePair &&x) |
iterator | insert (const_iterator before, const KeyValuePair &x) |
QVarLengthArray & | assign (qsizetype n, const KeyValuePair &t) |
QVarLengthArray & | assign (InputIterator first, InputIterator last) |
QVarLengthArray & | assign (std::initializer_list< KeyValuePair > list) |
const KeyValuePair * | constData () const |
auto | constBegin () const -> const_iterator |
const_iterator | constEnd () const |
void | push_back (const KeyValuePair &t) |
void | push_back (KeyValuePair &&t) |
void | shrink_to_fit () |
iterator | emplace (const_iterator pos, Args &&...args) |
KeyValuePair & | emplace_back (Args &&...args) |
void | clear () |
qsizetype | indexOf (const AT &t, qsizetype from=0) const |
Q_INLINE_TEMPLATE qsizetype | indexOf (const AT &t, qsizetype from) const |
qsizetype | lastIndexOf (const AT &t, qsizetype from=-1) const |
Q_INLINE_TEMPLATE qsizetype | lastIndexOf (const AT &t, qsizetype from) const |
bool | contains (const AT &t) const |
Q_INLINE_TEMPLATE bool | contains (const AT &t) const |
value_type | value (qsizetype i) const |
value_type | value (qsizetype i, const KeyValuePair &defaultValue) const |
void | replace (qsizetype i, const KeyValuePair &t) |
void | remove (qsizetype i, qsizetype n=1) |
qsizetype | removeAll (const AT &t) |
bool | removeOne (const AT &t) |
qsizetype | removeIf (Predicate pred) |
KeyValuePair * | data () noexcept |
const KeyValuePair * | data () const noexcept |
iterator | begin () noexcept |
const_iterator | begin () const noexcept |
const_iterator | cbegin () const noexcept |
iterator | end () noexcept |
const_iterator | end () const noexcept |
const_iterator | cend () const noexcept |
reverse_iterator | rbegin () noexcept |
const_reverse_iterator | rbegin () const noexcept |
const_reverse_iterator | crbegin () const noexcept |
reverse_iterator | rend () noexcept |
const_reverse_iterator | rend () const noexcept |
const_reverse_iterator | crend () const noexcept |
iterator | erase (const_iterator begin, const_iterator end) |
iterator | erase (const_iterator pos) |
void | pop_back () |
reference | front () |
const_reference | front () const |
reference | back () |
const_reference | back () const |
Public Member Functions inherited from QVLABase< T > | |
T * | data () noexcept |
const T * | data () const noexcept |
iterator | begin () noexcept |
const_iterator | begin () const noexcept |
const_iterator | cbegin () const noexcept |
iterator | end () noexcept |
const_iterator | end () const noexcept |
const_iterator | cend () const noexcept |
reverse_iterator | rbegin () noexcept |
const_reverse_iterator | rbegin () const noexcept |
const_reverse_iterator | crbegin () const noexcept |
reverse_iterator | rend () noexcept |
const_reverse_iterator | rend () const noexcept |
const_reverse_iterator | crend () const noexcept |
reference | front () |
const_reference | front () const |
reference | back () |
const_reference | back () const |
void | pop_back () |
template<typename AT = T> | |
qsizetype | indexOf (const AT &t, qsizetype from=0) const |
template<typename AT = T> | |
qsizetype | lastIndexOf (const AT &t, qsizetype from=-1) const |
template<typename AT = T> | |
bool | contains (const AT &t) const |
reference | operator[] (qsizetype idx) |
const_reference | operator[] (qsizetype idx) const |
value_type | value (qsizetype i) const |
value_type | value (qsizetype i, const T &defaultValue) const |
void | replace (qsizetype i, const T &t) |
void | remove (qsizetype i, qsizetype n=1) |
template<typename AT = T> | |
qsizetype | removeAll (const AT &t) |
template<typename AT = T> | |
bool | removeOne (const AT &t) |
template<typename Predicate > | |
qsizetype | removeIf (Predicate pred) |
void | clear () |
iterator | erase (const_iterator begin, const_iterator end) |
iterator | erase (const_iterator pos) |
size_t | hash (size_t seed) const noexcept(QtPrivate::QNothrowHashable_v< T >) |
template<typename AT > | |
Q_INLINE_TEMPLATE qsizetype | indexOf (const AT &t, qsizetype from) const |
template<typename AT > | |
Q_INLINE_TEMPLATE qsizetype | lastIndexOf (const AT &t, qsizetype from) const |
template<typename AT > | |
Q_INLINE_TEMPLATE bool | contains (const AT &t) const |
template<typename Iterator > | |
Q_OUTOFLINE_TEMPLATE void | assign_impl (qsizetype prealloc, void *array, Iterator first, Iterator last) |
template<typename... Args> | |
Q_OUTOFLINE_TEMPLATE auto | emplace_impl (qsizetype prealloc, void *array, const_iterator before, Args &&...args) -> iterator |
Public Member Functions inherited from QVLABaseBase | |
constexpr size_type | capacity () const noexcept |
constexpr size_type | size () const noexcept |
constexpr bool | empty () const noexcept |
Additional Inherited Members | |
Public Types inherited from QVarLengthArray< KeyValuePair, 8 > | |
using | size_type |
using | value_type |
using | pointer |
using | const_pointer |
using | reference |
using | const_reference |
using | difference_type |
using | iterator |
using | const_iterator |
using | reverse_iterator |
using | const_reverse_iterator |
Public Types inherited from QVLABase< T > | |
using | iterator = T* |
using | const_iterator = const T* |
using | reverse_iterator = std::reverse_iterator<iterator> |
using | const_reverse_iterator = std::reverse_iterator<const_iterator> |
using | value_type = T |
using | reference = value_type& |
using | const_reference = const value_type& |
using | pointer = value_type* |
using | const_pointer = const value_type* |
using | difference_type = qptrdiff |
Public Types inherited from QVLABaseBase | |
using | size_type = qsizetype |
Static Public Member Functions inherited from QVLABase< T > | |
static constexpr qsizetype | max_size () noexcept |
Static Public Attributes inherited from QVarLengthArray< KeyValuePair, 8 > | |
static constexpr qsizetype | PreallocatedSize |
Protected Types inherited from QVLABaseBase | |
using | malloced_ptr = std::unique_ptr<void, free_deleter> |
Protected Member Functions inherited from QVLAStorage< Size, Align, Prealloc > | |
~QVLAStorage ()=default | |
Protected Member Functions inherited from QVLABase< T > | |
~QVLABase ()=default | |
void | growBy (qsizetype prealloc, void *array, qsizetype increment) |
template<typename... Args> | |
reference | emplace_back_impl (qsizetype prealloc, void *array, Args &&...args) |
template<typename... Args> | |
iterator | emplace_impl (qsizetype prealloc, void *array, const_iterator pos, Args &&...arg) |
iterator | insert_impl (qsizetype prealloc, void *array, const_iterator pos, qsizetype n, const T &t) |
template<typename S > | |
bool | equal (const QVLABase< S > &other) const |
template<typename S > | |
bool | less_than (const QVLABase< S > &other) const |
void | append_impl (qsizetype prealloc, void *array, const T *buf, qsizetype n) |
void | reallocate_impl (qsizetype prealloc, void *array, qsizetype size, qsizetype alloc) |
void | resize_impl (qsizetype prealloc, void *array, qsizetype sz, const T &v) |
void | resize_impl (qsizetype prealloc, void *array, qsizetype sz) |
void | assign_impl (qsizetype prealloc, void *array, qsizetype n, const T &t) |
template<typename Iterator > | |
void | assign_impl (qsizetype prealloc, void *array, Iterator first, Iterator last) |
bool | isValidIterator (const const_iterator &i) const |
Protected Member Functions inherited from QVLABaseBase | |
~QVLABaseBase ()=default | |
Q_ALWAYS_INLINE constexpr void | verify (qsizetype pos=0, qsizetype n=1) const |
Protected Attributes inherited from QVLAStorage< Size, Align, Prealloc > | |
char | array [Prealloc *(Align > Size ? Align :Size)] |
QT_WARNING_PUSH | QT_WARNING_DISABLE_DEPRECATED |
Protected Attributes inherited from QVLABaseBase | |
qsizetype | a |
qsizetype | s |
void * | ptr |
Definition at line 250 of file qv4compilercontext_p.h.
Definition at line 253 of file qv4compilercontext_p.h.
References QVarLengthArray< KeyValuePair, 8 >::append(), QVarLengthArray< KeyValuePair, 8 >::begin(), QVarLengthArray< KeyValuePair, 8 >::end(), and it.