Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qv4regexpobject.cpp File Reference

(22df353c14800d2e9b6d57a9a0cb9c6baa337999)

#include "qv4regexpobject_p.h"
#include "qv4regexp_p.h"
#include <private/qv4mm_p.h>
#include "qv4scopedvalue_p.h"
#include "qv4jscall_p.h"
#include "qv4symbol_p.h"
#include "private/qlocale_tools_p.h"
#include <QtCore/QDebug>
#include <cassert>
#include <typeinfo>
#include <iostream>
#include <private/qv4alloca_p.h>
Include dependency graph for qv4regexpobject.cpp:

Go to the source code of this file.

Functions

 DEFINE_OBJECT_VTABLE (RegExpObject)
static QString minimalPattern (const QString &pattern)
 DEFINE_OBJECT_VTABLE (RegExpCtor)
static bool isRegExp (ExecutionEngine *e, const QV4::Value *arg)
static CompiledData::RegExp::Flags parseFlags (Scope &scope, const QV4::Value *f)
static int advanceStringIndex (int index, const QString &str, bool unicode)
static void advanceLastIndexOnEmptyMatch (ExecutionEngine *e, bool unicode, QV4::Object *rx, const String *matchString, const QString &str)

Function Documentation

◆ advanceLastIndexOnEmptyMatch()

void advanceLastIndexOnEmptyMatch ( ExecutionEngine * e,
bool unicode,
QV4::Object * rx,
const String * matchString,
const QString & str )
static

Definition at line 529 of file qv4regexpobject.cpp.

References QV4::ScopedValue::operator->().

Here is the call graph for this function:

◆ advanceStringIndex()

int advanceStringIndex ( int index,
const QString & str,
bool unicode )
static

Definition at line 517 of file qv4regexpobject.cpp.

◆ DEFINE_OBJECT_VTABLE() [1/2]

DEFINE_OBJECT_VTABLE ( RegExpCtor )

◆ DEFINE_OBJECT_VTABLE() [2/2]

DEFINE_OBJECT_VTABLE ( RegExpObject )

Referenced by isRegExp().

Here is the caller graph for this function:

◆ isRegExp()

bool isRegExp ( ExecutionEngine * e,
const QV4::Value * arg )
static

Definition at line 213 of file qv4regexpobject.cpp.

References DEFINE_OBJECT_VTABLE().

Here is the call graph for this function:

◆ minimalPattern()

QString minimalPattern ( const QString & pattern)
static

Definition at line 47 of file qv4regexpobject.cpp.

◆ parseFlags()

CompiledData::RegExp::Flags parseFlags ( Scope & scope,
const QV4::Value * f )
static

Definition at line 226 of file qv4regexpobject.cpp.