5#include <private/qv4iterator_p.h>
6#include <private/qv4stringiterator_p.h>
7#include <private/qv4symbol_p.h>
41 thisObject->d()->iteratedString.
set(scope.
engine,
nullptr);
48 if (
ch.unicode() >= 0xd800 &&
ch.unicode() <= 0xdbff &&
index + 1 !=
len) {
50 if (
ch.unicode() >= 0xdc00 &&
ch.unicode() <= 0xdfff)
54 thisObject->d()->nextIndex +=
num;
\macro QT_RESTRICTED_CAST_FROM_ASCII
qsizetype size() const noexcept
Returns the number of characters in this string.
const QChar at(qsizetype i) const
Returns the character at the given index position in the string.
Scoped< String > ScopedString
GLboolean GLboolean GLboolean b
QLatin1StringView QLatin1String
#define QStringLiteral(str)
#define DEFINE_OBJECT_VTABLE(classname)
Symbol * symbol_toStringTag() const
Heap::String * newString(char16_t c)
ReturnedValue throwTypeError()
static ReturnedValue createIterResultObject(ExecutionEngine *engine, const Value &value, bool done)
void defineDefaultProperty(StringOrSymbol *name, const Value &value, PropertyAttributes attributes=Attr_Data|Attr_NotEnumerable)
bool set(StringOrSymbol *name, const Value &v, ThrowOnFailure shouldThrow)
void defineReadonlyConfigurableProperty(const QString &name, const Value &value)
static ReturnedValue method_next(const FunctionObject *b, const Value *thisObject, const Value *argv, int argc)
void init(ExecutionEngine *engine)
static constexpr Value undefinedValue()