LibreOffice Module comphelper (master)  1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
SyntaxHighlighter Class Reference

#include <syntaxhighlight.hxx>

Classes

class  Tokenizer
 

Public Member Functions

 SyntaxHighlighter (HighlighterLanguage language)
 
 ~SyntaxHighlighter ()
 
void getHighlightPortions (const OUString &rLine, std::vector< HighlightPortion > &pPortions) const
 
HighlighterLanguage GetLanguage () const
 

Private Member Functions

 SyntaxHighlighter (const SyntaxHighlighter &)=delete
 
SyntaxHighlighteroperator= (const SyntaxHighlighter &)=delete
 

Private Attributes

std::unique_ptr< Tokenizerm_tokenizer
 

Detailed Description

Definition at line 64 of file syntaxhighlight.hxx.

Constructor & Destructor Documentation

SyntaxHighlighter::SyntaxHighlighter ( const SyntaxHighlighter )
privatedelete
SyntaxHighlighter::SyntaxHighlighter ( HighlighterLanguage  language)
SyntaxHighlighter::~SyntaxHighlighter ( )

Definition at line 710 of file syntaxhighlight.cxx.

Member Function Documentation

void SyntaxHighlighter::getHighlightPortions ( const OUString &  rLine,
std::vector< HighlightPortion > &  pPortions 
) const

Definition at line 712 of file syntaxhighlight.cxx.

References m_tokenizer.

HighlighterLanguage SyntaxHighlighter::GetLanguage ( ) const

Definition at line 718 of file syntaxhighlight.cxx.

References m_tokenizer.

SyntaxHighlighter& SyntaxHighlighter::operator= ( const SyntaxHighlighter )
privatedelete

Member Data Documentation

std::unique_ptr<Tokenizer> SyntaxHighlighter::m_tokenizer
private

Definition at line 66 of file syntaxhighlight.hxx.

Referenced by getHighlightPortions(), GetLanguage(), and SyntaxHighlighter().


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