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
QV4::Heap::RegExp Struct Reference

#include <qv4regexp_p.h>

Inheritance diagram for QV4::Heap::RegExp:
Collaboration diagram for QV4::Heap::RegExp:

Public Member Functions

void init (ExecutionEngine *engine, const QString &pattern, uint flags)
void destroy ()
bool hasValidJITCode () const
bool ignoreCase () const
bool multiLine () const
bool global () const
bool unicode () const
bool sticky () const
int captureCount () const
Public Member Functions inherited from QV4::Heap::Base
voidoperator new (size_t)=delete
ReturnedValue asReturnedValue () const
void mark (QV4::MarkStack *markStack)
bool isMarked () const
void setMarkBit ()
bool inUse () const
voidoperator new (size_t, Managed *m)
voidoperator new (size_t, Base *m)
void operator delete (void *, Base *)
void init ()
void destroy ()
Q_ALWAYS_INLINE void _checkIsInitialized ()
Q_ALWAYS_INLINE void _checkIsDestroyed ()
Q_ALWAYS_INLINE void _setInitialized ()
Q_ALWAYS_INLINE void _setDestroyed ()

Public Attributes

QStringpattern
JSC::Yarr::BytecodePattern * byteCode
RegExpCachecache
int subPatternCount
quint8 flags
bool valid
Public Attributes inherited from QV4::Heap::Base
Pointer< InternalClass *, 0 > internalClass

Additional Inherited Members

Static Public Member Functions inherited from QV4::Heap::Base
static void markObjects (Base *, MarkStack *)

Detailed Description

Definition at line 40 of file qv4regexp_p.h.

Member Function Documentation

◆ captureCount()

int QV4::Heap::RegExp::captureCount ( ) const
inline

Definition at line 75 of file qv4regexp_p.h.

References subPatternCount.

◆ destroy()

void Heap::RegExp::destroy ( )

Definition at line 228 of file qv4regexp.cpp.

◆ global()

bool QV4::Heap::RegExp::global ( ) const
inline

Definition at line 59 of file qv4regexp_p.h.

◆ hasValidJITCode()

bool QV4::Heap::RegExp::hasValidJITCode ( ) const
inline

Definition at line 49 of file qv4regexp_p.h.

◆ ignoreCase()

bool QV4::Heap::RegExp::ignoreCase ( ) const
inline

Definition at line 57 of file qv4regexp_p.h.

◆ init()

void Heap::RegExp::init ( ExecutionEngine * engine,
const QString & pattern,
uint flags )

Definition at line 211 of file qv4regexp.cpp.

◆ multiLine()

bool QV4::Heap::RegExp::multiLine ( ) const
inline

Definition at line 58 of file qv4regexp_p.h.

◆ sticky()

bool QV4::Heap::RegExp::sticky ( ) const
inline

Definition at line 61 of file qv4regexp_p.h.

◆ unicode()

bool QV4::Heap::RegExp::unicode ( ) const
inline

Definition at line 60 of file qv4regexp_p.h.

Member Data Documentation

◆ byteCode

JSC::Yarr::BytecodePattern* QV4::Heap::RegExp::byteCode

Definition at line 45 of file qv4regexp_p.h.

◆ cache

RegExpCache* QV4::Heap::RegExp::cache

Definition at line 63 of file qv4regexp_p.h.

◆ flags

quint8 QV4::Heap::RegExp::flags

Definition at line 72 of file qv4regexp_p.h.

◆ pattern

QString* QV4::Heap::RegExp::pattern

Definition at line 44 of file qv4regexp_p.h.

◆ subPatternCount

int QV4::Heap::RegExp::subPatternCount

Definition at line 64 of file qv4regexp_p.h.

Referenced by captureCount().

◆ valid

bool QV4::Heap::RegExp::valid

Definition at line 73 of file qv4regexp_p.h.


The documentation for this struct was generated from the following files: