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 <qv4string_p.h>
Static Public Member Functions | |
static void | markObjects (Heap::Base *that, MarkStack *markStack) |
Static Public Member Functions inherited from QV4::Heap::StringOrSymbol | |
static void | markObjects (Heap::Base *that, MarkStack *markStack) |
Static Public Member Functions inherited from QV4::Heap::Base | |
static void | markObjects (Base *, MarkStack *) |
Additional Inherited Members | ||
Public Types inherited from QV4::Heap::StringOrSymbol | ||
enum | StringType { StringType_Symbol , StringType_Regular , StringType_ArrayIndex , StringType_Unknown , StringType_AddedString , StringType_SubString , StringType_Complex = StringType_AddedString } | |
Public Attributes inherited from QV4::Heap::StringOrSymbol | ||
struct { | ||
unsigned char data [sizeof(QStringPrivate)] | ||
} | textStorage | |
PropertyKey | identifier | |
uint | subtype | |
uint | stringHash | |
Public Attributes inherited from QV4::Heap::Base | ||
Pointer< InternalClass *, 0 > | internalClass | |
Definition at line 79 of file qv4string_p.h.
Definition at line 55 of file qv4string.cpp.
References 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, 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 QV4::CppStackFrame::function(), QQmlPrivate::initValueLookup(), and QV4::String::toUInt().
|
inline |
Definition at line 82 of file qv4string_p.h.