![]() |
Qt 6.x
The Qt SDK
|
#include "qv4stringobject_p.h"
#include "qv4regexp_p.h"
#include "qv4regexpobject_p.h"
#include <private/qv4mm_p.h>
#include "qv4scopedvalue_p.h"
#include "qv4symbol_p.h"
#include <private/qv4alloca_p.h>
#include "qv4jscall_p.h"
#include "qv4stringiterator_p.h"
#include <QtCore/QDateTime>
#include <QtCore/QDebug>
#include <QtCore/QStringList>
#include <QtQml/private/qv4runtime_p.h>
#include <cassert>
#include <time.h>
#include <sys/time.h>
Go to the source code of this file.
Classes | |
struct | StringObjectOwnPropertyKeyIterator |
Functions | |
DEFINE_OBJECT_VTABLE (StringObject) | |
DEFINE_OBJECT_VTABLE (StringCtor) | |
static Heap::String * | thisAsString (ExecutionEngine *v4, const QV4::Value *thisObject) |
static QString | getThisString (ExecutionEngine *v4, const QV4::Value *thisObject) |
static void | appendReplacementString (QString *result, const QString &input, const QString &replaceValue, uint *matchOffsets, int captureCount) |
|
static |
Definition at line 683 of file qv4stringobject.cpp.
References QString::at(), ch, i, QStringView::mid(), QString::size(), and QChar::unicode().
Referenced by QV4::StringPrototype::method_replace().
DEFINE_OBJECT_VTABLE | ( | StringCtor | ) |
DEFINE_OBJECT_VTABLE | ( | StringObject | ) |
|
static |
Definition at line 304 of file qv4stringobject.cpp.
References QV4::Value::as(), QV4::StaticValue::isNull(), QV4::StaticValue::isUndefined(), QV4::Value::stringValue(), QV4::ExecutionEngine::throwTypeError(), and QV4::Value::toQString().
Referenced by QV4::StringPrototype::method_charAt(), QV4::StringPrototype::method_charCodeAt(), QV4::StringPrototype::method_codePointAt(), QV4::StringPrototype::method_concat(), QV4::StringPrototype::method_endsWith(), QV4::StringPrototype::method_includes(), QV4::StringPrototype::method_indexOf(), QV4::StringPrototype::method_lastIndexOf(), QV4::StringPrototype::method_localeCompare(), QV4::StringPrototype::method_normalize(), QV4::StringPrototype::method_repeat(), QV4::StringPrototype::method_search(), QV4::StringPrototype::method_split(), QV4::StringPrototype::method_startsWith(), QV4::StringPrototype::method_substr(), QV4::StringPrototype::method_substring(), QV4::StringPrototype::method_toLowerCase(), QV4::StringPrototype::method_toUpperCase(), and QV4::StringPrototype::method_trim().
|
static |
Definition at line 295 of file qv4stringobject.cpp.
References QV4::Value::as(), QV4::Value::stringValue(), and QV4::Value::toString().
Referenced by QV4::StringPrototype::method_padEnd(), QV4::StringPrototype::method_padStart(), and QV4::StringPrototype::method_slice().