STAMINA/STORM 0.1
Infinite state-space truncator which generates a probability within a window
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
stamina::gui::addons::highlighter::Highlighter Class Referenceabstract
Inheritance diagram for stamina::gui::addons::highlighter::Highlighter:
stamina::gui::addons::highlighter::PrismHighlighter

Classes

struct  HighlightingRule
 

Public Member Functions

 Highlighter (QTextDocument *parent=nullptr)
 

Protected Member Functions

virtual void setupKeyWordPatterns ()=0
 
void highlightBlock (const QString &text) override
 

Protected Attributes

QVector< HighlightingRulehighlightingRules
 
QRegularExpression commentStartExpression
 
QRegularExpression commentEndExpression
 
QTextCharFormat keywordFormat
 
QTextCharFormat classFormat
 
QTextCharFormat singleLineCommentFormat
 
QTextCharFormat multiLineCommentFormat
 
QTextCharFormat quotationFormat
 
QTextCharFormat functionFormat
 
QTextCharFormat numberFormat
 
QTextCharFormat constFormat
 

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