17 class QXmlStreamReader;
22 class TextGrammarManager;
23 class TextGrammarRule;
TmLanguageParser()
Parses a textmate language.
Definition: tmlanguageparser.cpp:22
TextGrammarRule * createGrammarRule(TextGrammar *grammar, const QVariant &data)
creates a grammar rue
Definition: tmlanguageparser.cpp:96
void addPatternsToGrammarRule(TextGrammarRule *rule, QList< QVariant > patterns)
Adds all patterns to the grammar rules.
Definition: tmlanguageparser.cpp:86
void addCapturesToGrammarRule(TextGrammarRule *rule, QHash< QString, QVariant > captures, bool endCapture=false)
sets the captures
Definition: tmlanguageparser.cpp:67
defines a single grammar rule
Definition: textgrammar.h:24
Copyright 2011-2013 - Reliable Bits Software by Blommers IT.
Definition: commentcommand.cpp:22
This class defines a single language grammar.
Definition: textgrammar.h:125
TextGrammar * createLanguage(QVariant &data)
Definition: tmlanguageparser.cpp:176
TextGrammar * parse(QIODevice *device)
reads the content of a single file
Definition: tmlanguageparser.cpp:30
A general plist xml-file parser.
Definition: baseplistparser.h:19
For parsing a Textmate Language.
Definition: tmlanguageparser.h:26