LibreOffice Module comphelper (master) 1
|
#include <syntaxhighlight.hxx>
Classes | |
class | Tokenizer |
Public Member Functions | |
SyntaxHighlighter (HighlighterLanguage language) | |
~SyntaxHighlighter () | |
void | getHighlightPortions (std::u16string_view rLine, std::vector< HighlightPortion > &pPortions) const |
HighlighterLanguage | GetLanguage () const |
Private Member Functions | |
SyntaxHighlighter (const SyntaxHighlighter &)=delete | |
SyntaxHighlighter & | operator= (const SyntaxHighlighter &)=delete |
Private Attributes | |
std::unique_ptr< Tokenizer > | m_tokenizer |
Definition at line 64 of file syntaxhighlight.hxx.
|
privatedelete |
SyntaxHighlighter::SyntaxHighlighter | ( | HighlighterLanguage | language | ) |
Definition at line 709 of file syntaxhighlight.cxx.
References Basic, m_tokenizer, SQL, strListBasicKeyWords, and strListSqlKeyWords.
SyntaxHighlighter::~SyntaxHighlighter | ( | ) |
Definition at line 727 of file syntaxhighlight.cxx.
void SyntaxHighlighter::getHighlightPortions | ( | std::u16string_view | rLine, |
std::vector< HighlightPortion > & | pPortions | ||
) | const |
Definition at line 729 of file syntaxhighlight.cxx.
References m_tokenizer.
HighlighterLanguage SyntaxHighlighter::GetLanguage | ( | ) | const |
Definition at line 735 of file syntaxhighlight.cxx.
References m_tokenizer.
|
privatedelete |
References GetLanguage().
|
private |
Definition at line 68 of file syntaxhighlight.hxx.
Referenced by getHighlightPortions(), GetLanguage(), and SyntaxHighlighter().