Public Member Functions | Protected Member Functions | Private Attributes | List of all members
QLuaHighlighter Class Reference

Class, that describes C++ code highlighter. More...

#include <QLuaHighlighter.hpp>

Inheritance diagram for QLuaHighlighter:
Inheritance graph
[legend]

Public Member Functions

 QLuaHighlighter (QTextDocument *document=nullptr)
 Constructor. More...
 
- Public Member Functions inherited from QStyleSyntaxHighlighter
QStyleSyntaxHighlighteroperator= (const QStyleSyntaxHighlighter &)=delete
 
 QStyleSyntaxHighlighter (const QStyleSyntaxHighlighter &)=delete
 
 QStyleSyntaxHighlighter (QTextDocument *document=nullptr)
 Constructor. More...
 
void setSyntaxStyle (QSyntaxStyle *style)
 Method for setting syntax style. More...
 
QSyntaxStylesyntaxStyle () const
 Method for getting syntax style. More...
 

Protected Member Functions

void highlightBlock (const QString &text) override
 

Private Attributes

QRegularExpression m_defTypePattern
 
QRegularExpression m_functionPattern
 
QVector< QHighlightBlockRulem_highlightBlockRules
 
QVector< QHighlightRulem_highlightRules
 
QRegularExpression m_requirePattern
 

Detailed Description

Class, that describes C++ code highlighter.

Definition at line 19 of file QLuaHighlighter.hpp.

Constructor & Destructor Documentation

◆ QLuaHighlighter()

QLuaHighlighter::QLuaHighlighter ( QTextDocument *  document = nullptr)
explicit

Constructor.

Parameters
documentPointer to document.

Definition at line 10 of file QLuaHighlighter.cpp.

Member Function Documentation

◆ highlightBlock()

void QLuaHighlighter::highlightBlock ( const QString &  text)
overrideprotected

Member Data Documentation

◆ m_defTypePattern

QRegularExpression QLuaHighlighter::m_defTypePattern
private

Definition at line 39 of file QLuaHighlighter.hpp.

◆ m_functionPattern

QRegularExpression QLuaHighlighter::m_functionPattern
private

Definition at line 38 of file QLuaHighlighter.hpp.

◆ m_highlightBlockRules

QVector<QHighlightBlockRule> QLuaHighlighter::m_highlightBlockRules
private

Definition at line 35 of file QLuaHighlighter.hpp.

◆ m_highlightRules

QVector<QHighlightRule> QLuaHighlighter::m_highlightRules
private

Definition at line 34 of file QLuaHighlighter.hpp.

◆ m_requirePattern

QRegularExpression QLuaHighlighter::m_requirePattern
private

Definition at line 37 of file QLuaHighlighter.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:50