![]() |
Qt 6.x
The Qt SDK
|
#include <qv4regexp_p.h>
Static Public Member Functions | |
static Heap::RegExp * | create (ExecutionEngine *engine, const QString &pattern, uint flags=CompiledData::RegExp::RegExp_NoFlags) |
static QString | getSubstitution (const QString &matched, const QString &str, int position, const Value *captures, int nCaptures, const QString &replacement) |
![]() | |
static constexpr Value | fromStaticValue (StaticValue staticValue) |
static Value | fromHeapObject (HeapBasePtr m) |
static bool | toBooleanImpl (Value val) |
static double | toNumberImpl (Value v) |
static Heap::String * | toString (ExecutionEngine *e, Value val) |
static Heap::Object * | toObject (ExecutionEngine *e, Value val) |
static constexpr Value | fromReturnedValue (ReturnedValue val) |
static double | toInteger (double d) |
static int | toInt32 (double d) |
static unsigned int | toUInt32 (double d) |
static constexpr Value | emptyValue () |
static constexpr Value | fromBoolean (bool b) |
static constexpr Value | fromInt32 (int i) |
static constexpr Value | undefinedValue () |
static constexpr Value | nullValue () |
static Value | fromDouble (double d) |
static Value | fromUInt32 (uint i) |
![]() | |
static int | valueOffset () |
static int | tagOffset () |
static constexpr quint64 | tagValue (quint32 tag, quint32 value) |
static constexpr quint64 | tagBitMask (TagBit bit) |
static bool | integerCompatible (StaticValue a, StaticValue b) |
static bool | bothDouble (StaticValue a, StaticValue b) |
static QV4_NEARLY_ALWAYS_INLINE bool | isInt32 (double d) |
static constexpr StaticValue | fromReturnedValue (ReturnedValue val) |
static constexpr StaticValue | emptyValue () |
static constexpr StaticValue | fromBoolean (bool b) |
static constexpr StaticValue | fromInt32 (int i) |
static constexpr StaticValue | undefinedValue () |
static constexpr StaticValue | nullValue () |
static StaticValue | fromDouble (double d) |
static StaticValue | fromUInt32 (uint i) |
static double | toInteger (double d) |
static int | toInt32 (double d) |
static unsigned int | toUInt32 (double d) |
Friends | |
class | RegExpCache |
Definition at line 77 of file qv4regexp_p.h.
|
inline |
Definition at line 85 of file qv4regexp_p.h.
References d.
Referenced by match().
|
inline |
Definition at line 89 of file qv4regexp_p.h.
References d.
|
inline |
Definition at line 103 of file qv4regexp_p.h.
References subPatternCount().
Referenced by QV4::RegExpObject::builtinExec().
|
static |
Definition at line 150 of file qv4regexp.cpp.
References QV4::WeakValue::as(), QV4::Heap::RegExp::cache, engine, and QV4::WeakValue::set().
Referenced by QV4::ExecutableCompilationUnit::linkToEngine(), QV4::ExecutionEngine::newRegExpObject(), and QV4::RegExpCtor::virtualCallAsConstructor().
|
static |
Definition at line 80 of file qv4regexp.cpp.
References QString::at(), ch, i, j, QString::left(), QString::mid(), position(), Q_ASSERT, QString::size(), str, QV4::Value::stringValue(), and QV4::String::toQString().
Referenced by QV4::RegExpPrototype::method_replace().
|
inline |
Definition at line 93 of file qv4regexp_p.h.
References d.
|
inline |
Definition at line 91 of file qv4regexp_p.h.
References d.
|
inline |
Definition at line 99 of file qv4regexp_p.h.
References d.
Referenced by match().
Definition at line 38 of file qv4regexp.cpp.
References byteCode(), d, error, QMetaObjectPrivate::flags, isValid(), jscFlags(), priv(), Q_ASSERT, and ret.
|
inline |
Definition at line 92 of file qv4regexp_p.h.
References d.
|
inline |
Definition at line 84 of file qv4regexp_p.h.
References d.
Referenced by QV4::RegExpObject::toString().
|
inline |
Definition at line 95 of file qv4regexp_p.h.
References d.
|
inline |
Definition at line 90 of file qv4regexp_p.h.
References d.
Referenced by captureCount().
|
inline |
Definition at line 94 of file qv4regexp_p.h.
References d.
|
friend |
Definition at line 107 of file qv4regexp_p.h.