![]() |
Qt 6.x
The Qt SDK
|
#include <qv4string_p.h>
Static Public Member Functions | |
static void | markObjects (Heap::Base *that, MarkStack *markStack) |
![]() | |
static void | markObjects (Heap::Base *that, MarkStack *markStack) |
![]() | |
static void | markObjects (Base *, MarkStack *) |
Additional Inherited Members | ||
![]() | ||
enum | StringType { StringType_Symbol , StringType_Regular , StringType_ArrayIndex , StringType_Unknown , StringType_AddedString , StringType_SubString , StringType_Complex = StringType_AddedString } | |
![]() | ||
struct { | ||
unsigned char data [sizeof(QStringPrivate)] | ||
} | textStorage | |
PropertyKey | identifier | |
uint | subtype | |
uint | stringHash | |
![]() | ||
Pointer< InternalClass *, 0 > | internalClass | |
Definition at line 79 of file qv4string_p.h.
Definition at line 55 of file qv4string.cpp.
References QString::data_ptr(), QV4::Heap::StringOrSymbol::init(), and QV4::Heap::StringOrSymbol::StringType_Unknown.
|
inline |
Definition at line 97 of file qv4string_p.h.
References other(), and Q_ASSERT.
Referenced by QV4::String::virtualIsEqualTo().
|
inline |
Definition at line 132 of file qv4string_p.h.
References QV4::Heap::StringOrSymbol::StringType_AddedString, QV4::Heap::StringOrSymbol::subtype, and QV4::Heap::StringOrSymbol::text().
Referenced by QV4::Heap::ComplexString::init().
|
static |
Definition at line 22 of file qv4string.cpp.
References QV4::Heap::ComplexString::left, QV4::Heap::Base::mark(), QV4::Heap::StringOrSymbol::markObjects(), Q_ASSERT, QV4::Heap::ComplexString::right, and QV4::Heap::StringOrSymbol::subtype.
|
inline |
Definition at line 89 of file qv4string_p.h.
References text.
void Heap::String::simplifyString | ( | ) | const |
Definition at line 132 of file qv4string.cpp.
References append(), ch, QString::data_ptr(), QV4::PropertyKey::invalid(), QV4::Heap::ComplexString::left, Q_ASSERT, QV4::Heap::ComplexString::right, text, and Qt::Uninitialized.
Referenced by startsWithUpper().
bool Heap::String::startsWithUpper | ( | ) | const |
Definition at line 150 of file qv4string.cpp.
References QString::data(), QV4::Heap::ComplexString::from, QChar::isUpper(), QV4::Heap::ComplexString::left, QV4::Heap::ComplexString::len, Q_ASSERT, simplifyString(), QString::size(), startsWithUpper(), str, QV4::Heap::StringOrSymbol::StringType_Complex, and QV4::Heap::StringOrSymbol::subtype.
Referenced by startsWithUpper().
|
inline |
Definition at line 92 of file qv4string_p.h.
Referenced by QQmlPrivate::AOTCompiledContext::callGlobalLookup(), QQmlPrivate::AOTCompiledContext::callObjectPropertyLookup(), QQmlPrivate::AOTCompiledContext::callQmlContextPropertyLookup(), QV4::CppStackFrame::function(), QQmlPrivate::AOTCompiledContext::getObjectLookup(), QQmlPrivate::initValueLookup(), QQmlPrivate::AOTCompiledContext::loadScopeObjectPropertyLookup(), and QV4::String::toUInt().
|
inline |
Definition at line 82 of file qv4string_p.h.