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

#include <syntaxhighlight.hxx>


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 )
SyntaxHighlighter::SyntaxHighlighter ( HighlighterLanguage  language)
SyntaxHighlighter::~SyntaxHighlighter ( )

Definition at line 717 of file syntaxhighlight.cxx.

Member Function Documentation

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

Definition at line 719 of file syntaxhighlight.cxx.

References m_tokenizer.

HighlighterLanguage SyntaxHighlighter::GetLanguage ( ) const

Definition at line 725 of file syntaxhighlight.cxx.

References m_tokenizer.

SyntaxHighlighter& SyntaxHighlighter::operator= ( const SyntaxHighlighter )

Member Data Documentation

std::unique_ptr<Tokenizer> SyntaxHighlighter::m_tokenizer

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: