ACAV f0ba4b7c9529
Abstract Syntax Tree (AST) visualization tool for C, C++, and Objective-C
Loading...
Searching...
No Matches
acav::CppSyntaxHighlighter Class Reference

Syntax highlighter with four categories: comments, strings/chars, keywords/types, and functions. More...

#include <CppSyntaxHighlighter.h>

Inheritance diagram for acav::CppSyntaxHighlighter:
[legend]

Public Member Functions

 CppSyntaxHighlighter (QTextDocument *parent)

Protected Member Functions

void highlightBlock (const QString &text) override

Detailed Description

Syntax highlighter with four categories: comments, strings/chars, keywords/types, and functions.

Definition at line 37 of file CppSyntaxHighlighter.h.

Constructor & Destructor Documentation

◆ CppSyntaxHighlighter()

acav::CppSyntaxHighlighter::CppSyntaxHighlighter ( QTextDocument * parent)
explicit

Definition at line 29 of file CppSyntaxHighlighter.cpp.

Member Function Documentation

◆ highlightBlock()

void acav::CppSyntaxHighlighter::highlightBlock ( const QString & text)
overrideprotected

Definition at line 92 of file CppSyntaxHighlighter.cpp.


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