Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
 
QString flagsAsString () 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
 
uint flags
 
bool valid
 
bool jitFailed
 
quint8 matchCount
 
- 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 42 of file qv4regexp_p.h.

Member Function Documentation

◆ captureCount()

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

Definition at line 73 of file qv4regexp_p.h.

References subPatternCount.

◆ destroy()

void Heap::RegExp::destroy ( )

Definition at line 233 of file qv4regexp.cpp.

References cache, and QV4::Heap::Base::destroy().

+ Here is the call graph for this function:

◆ flagsAsString()

◆ global()

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

Definition at line 61 of file qv4regexp_p.h.

References QV4::CompiledData::RegExp::RegExp_Global.

◆ hasValidJITCode()

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

Definition at line 51 of file qv4regexp_p.h.

◆ ignoreCase()

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

Definition at line 59 of file qv4regexp_p.h.

References QV4::CompiledData::RegExp::RegExp_IgnoreCase.

◆ init()

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

Definition at line 212 of file qv4regexp.cpp.

References engine, error, QV4::Heap::Base::init(), jscFlags(), and Q_UNUSED.

+ Here is the call graph for this function:

◆ multiLine()

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

Definition at line 60 of file qv4regexp_p.h.

References QV4::CompiledData::RegExp::RegExp_Multiline.

◆ sticky()

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

Definition at line 63 of file qv4regexp_p.h.

References QV4::CompiledData::RegExp::RegExp_Sticky.

◆ unicode()

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

Definition at line 62 of file qv4regexp_p.h.

References QV4::CompiledData::RegExp::RegExp_Unicode.

Member Data Documentation

◆ byteCode

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

Definition at line 47 of file qv4regexp_p.h.

◆ cache

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

Definition at line 65 of file qv4regexp_p.h.

Referenced by QV4::RegExp::create().

◆ flags

uint QV4::Heap::RegExp::flags

Definition at line 67 of file qv4regexp_p.h.

◆ jitFailed

bool QV4::Heap::RegExp::jitFailed

Definition at line 69 of file qv4regexp_p.h.

◆ matchCount

quint8 QV4::Heap::RegExp::matchCount

Definition at line 70 of file qv4regexp_p.h.

◆ pattern

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

Definition at line 46 of file qv4regexp_p.h.

◆ subPatternCount

int QV4::Heap::RegExp::subPatternCount

Definition at line 66 of file qv4regexp_p.h.

Referenced by captureCount().

◆ valid

bool QV4::Heap::RegExp::valid

Definition at line 68 of file qv4regexp_p.h.


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