Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
HighlightingVisitor Class Reference

#include <qqmlsemantictokens_p.h>

+ Collaboration diagram for HighlightingVisitor:

Public Member Functions

 HighlightingVisitor (Highlights &highlights, const std::optional< HighlightsRange > &range)
 
bool operator() (QQmlJS::Dom::Path, const QQmlJS::Dom::DomItem &item, bool)
 

Detailed Description

Definition at line 102 of file qqmlsemantictokens_p.h.

Constructor & Destructor Documentation

◆ HighlightingVisitor()

HighlightingVisitor::HighlightingVisitor ( Highlights & highlights,
const std::optional< HighlightsRange > & range )

Definition at line 88 of file qqmlsemantictokens.cpp.

Member Function Documentation

◆ operator()()

bool HighlightingVisitor::operator() ( QQmlJS::Dom::Path ,
const QQmlJS::Dom::DomItem & item,
bool  )

Definition at line 94 of file qqmlsemantictokens.cpp.

References item, QQmlJS::Dom::MainRegion, HighlightingUtils::rangeOverlapsWithSourceLocation(), and QQmlJS::Dom::FileLocations::treeOf().

+ Here is the call graph for this function:

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