5#ifndef QV4STRINGITERATOR_P_H
6#define QV4STRINGITERATOR_P_H
29#define StringIteratorObjectMembers(class, Member)
30 Member(class, Pointer, String *, iteratedString)
31 Member(class, NoMark, quint32, nextIndex)
34 DECLARE_MARKOBJECTS(StringIteratorObject)
35 void init(String *str, QV4::ExecutionEngine *engine)
38 this->iteratedString.set(engine, str);
47 V4_PROTOTYPE(iteratorPrototype)
57 V4_PROTOTYPE(stringIteratorPrototype)
DECLARE_HEAP_OBJECT(StrictArgumentsObject, Object)
Scoped< FunctionObject > ScopedFunctionObject
Scoped< Object > ScopedObject
Scoped< ArrayObject > ScopedArrayObject
Scoped< String > ScopedString
#define Q_MANAGED_TYPE(type)
#define CHECK_EXCEPTION()
DEFINE_OBJECT_VTABLE(StringObject)
static const QLocale * getLocaleDataResource(const QV4::Value &val)
static Heap::String * thisAsString(ExecutionEngine *v4, const QV4::Value *thisObject)
static QLocale getLocaleFromArgs(const FunctionObject *b, const QV4::Value *argv, int argc)
static QString getThisString(ExecutionEngine *v4, const QV4::Value *thisObject)
static void appendReplacementString(QString *result, const QString &input, const QString &replaceValue, uint *matchOffsets, int captureCount)
DEFINE_OBJECT_VTABLE(StringCtor)
bool isArrayIndex() const
uint asArrayIndex() const
static PropertyKey fromArrayIndex(uint idx)
Scope(ExecutionEngine *e)
ScopedValue(const Scope &scope)
SparseArrayNode * nextNode()
static ReturnedValue method_next(const FunctionObject *b, const Value *thisObject, const Value *argv, int argc)
static bool virtualDeleteProperty(Managed *m, PropertyKey id)