#include "qregexp.h"#include <opie2/odebug.h>#include <qarray.h>#include <qbitarray.h>#include <qcache.h>#include <qintdict.h>#include <qmap.h>#include <qstring.h>#include <qtl.h>#include <qvector.h>#include <limits.h>Include dependency graph for qregexp3.cpp:

Go to the source code of this file.
Defines | |
| #define | BadChar(ch) ( (ch).cell() % NumBadChars ) |
| #define | YYREDO() |
Functions | |
| static void | mergeInto (QArray< int > *a, const QArray< int > &b) |
| static void | mergeInto (QMap< int, int > *a, const QMap< int, int > &b) |
| static int | at (const QMap< int, int > &m, int k) |
| static QString | wc2rx (const QString &wc) |
| static QRegExpEngine * | newEngine (const QString &pattern, bool caseSensitive) |
| static void | derefEngine (QRegExpEngine *eng, const QString &pattern) |
Variables | |
| static const int | NumBadChars = 128 |
| static const int | NoOccurrence = INT_MAX |
| static const int | EmptyCapture = INT_MAX |
| static const int | InftyLen = INT_MAX |
| static const int | InftyRep = 1000 |
| static const int | EOS = -1 |
| static int | engCount = 0 |
| static QArray< int > * | noOccurrences = 0 |
| static QArray< int > * | firstOccurrenceAtZero = 0 |
| static QCache< QRegExpEngine > * | engineCache = 0 |
|
|
Definition at line 663 of file qregexp3.cpp. Referenced by QRegExpEngine::badCharMatch(), QRegExpEngine::CharClass::in(), and QRegExpEngine::Box::set(). |
|
|
Value: yyIn = in, yyPos0 = pos0, yyPos = pos, yyLen = len, yyCh = ch, \ *yyCharClass = charClass, yyMinRep = 0, yyMaxRep = 0, yyTok = tok Referenced by QRegExpEngine::parseFactor(). |
|
||||||||||||
|
||||||||||||
|
Definition at line 3098 of file qregexp3.cpp. References QShared::deref(), QCache< type >::insert(), QString::isNull(), QString::length(), QPtrCollection::setAutoDelete(), and TRUE. Referenced by QRegExp::compile(), QRegExp::operator=(), and QRegExp::~QRegExp(). |
|
||||||||||||
|
Definition at line 722 of file qregexp3.cpp. References QMap< Key, T >::begin(), and QMap< Key, T >::end(). |
|
||||||||||||
|
Definition at line 680 of file qregexp3.cpp. References i. Referenced by QRegExpEngine::addCatTransitions(), QRegExpEngine::addPlusTransitions(), QRegExpEngine::Box::cat(), and QRegExpEngine::Box::orx(). |
|
||||||||||||
|
Definition at line 3082 of file qregexp3.cpp. References QRegExpEngine::caseSensitive(), QShared::ref(), and QCache< type >::take(). Referenced by QRegExp::compile(). |
|
|
Definition at line 747 of file qregexp3.cpp. References QString::fromLatin1(), i, QString::length(), and QChar::unicode(). Referenced by QRegExp::compile(). |
|
|
Definition at line 666 of file qregexp3.cpp. Referenced by QRegExpEngine::matchHere(), and QRegExpEngine::testAnchor(). |
|
|
Definition at line 672 of file qregexp3.cpp. Referenced by QRegExpEngine::setup(), and QRegExpEngine::~QRegExpEngine(). |
|
|
Definition at line 3079 of file qregexp3.cpp. |
|
|
Definition at line 669 of file qregexp3.cpp. Referenced by QRegExpEngine::getChar(), QRegExpEngine::getEscape(), and QRegExpEngine::getToken(). |
|
|
Definition at line 674 of file qregexp3.cpp. Referenced by QRegExpEngine::CharClass::addCategories(), QRegExpEngine::CharClass::addRange(), QRegExpEngine::CharClass::setNegative(), QRegExpEngine::setup(), QRegExpEngine::setupBadCharHeuristic(), and QRegExpEngine::~QRegExpEngine(). |
|
|
Definition at line 667 of file qregexp3.cpp. Referenced by QRegExpEngine::Box::cat(), QRegExpEngine::Box::plus(), and QRegExpEngine::Box::set(). |
|
|
Definition at line 668 of file qregexp3.cpp. Referenced by QRegExpEngine::getRep(), QRegExpEngine::getToken(), and QRegExpEngine::parseFactor(). |
|
|
Definition at line 665 of file qregexp3.cpp. Referenced by QRegExpEngine::badCharMatch(), QRegExpEngine::Box::cat(), QRegExpEngine::heuristicallyChooseHeuristic(), QRegExpEngine::CharClass::in(), QRegExpEngine::setup(), and QRegExpEngine::Box::setupHeuristics(). |
|
|
Definition at line 673 of file qregexp3.cpp. Referenced by QRegExpEngine::setup(), and QRegExpEngine::~QRegExpEngine(). |
|
|
Definition at line 662 of file qregexp3.cpp. Referenced by QRegExpEngine::CharClass::addRange(), QRegExpEngine::Box::cat(), QRegExpEngine::heuristicallyChooseHeuristic(), QRegExpEngine::Box::orx(), QRegExpEngine::setup(), QRegExpEngine::setupBadCharHeuristic(), and QRegExpEngine::Box::setupHeuristics(). |
1.4.2