QCodeEdit
2.2
|
Definition of the core QNFA syntax engine. More...
#include <QChar>
#include <QList>
#include <QHash>
#include <QStack>
#include <QString>
#include "light_vector.h"
Go to the source code of this file.
Classes | |
class | QNFABranch |
struct | QCharTreeNode |
struct | QNFA |
struct | QNFAMatchContext |
class | QNFAMatchHandler |
class | QNFAMatchNotifier |
struct | QNFAMatchNotifier::Command |
Typedefs | |
typedef light_vector< quint16 > | QNFASet |
typedef QHash< quint16, QCharTreeNode > | QCharTreeLevel |
typedef QCharTreeLevel | QCharTree |
Functions | |
Q_DECLARE_TYPEINFO (QCharTreeNode, Q_MOVABLE_TYPE) | |
void | match (QNFAMatchContext *lexer, const QChar *d, int length, QNFAMatchNotifier notify) |
void | match (QNFAMatchContext *lexer, const QString &s, QNFAMatchNotifier notify) |
QNFA * | lexer () |
void | squeeze (QNFA *nfa) |
void | squeeze (QCharTreeLevel &lvl) |
QNFA * | sharedContext (const QString &start, QNFA *other, bool cs) |
QNFA * | context (const QString &start, const QString &stop, const QString &escape, int action, QNFA **handler=0, bool cs=true) |
void | addNFA (QNFA *context, QNFA *nfa) |
bool | plain (const QString &word, QString *dest) |
void | addWord (QCharTree &tree, const QString &w, int action, bool cs) |
void | addWord (QNFA *lexer, const QString &w, int action, bool cs) |
void | addSequence (QNFA *lexer, const QString &w, int action, bool cs) |
QNFA * | sequence (const QChar *d, int length, QNFA **end, bool cs) |
QNFA * | sequence (const QString &s, QNFA **end, bool cs) |
Definition of the core QNFA syntax engine.