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>.
|
#include <qqmlsemantictokens_p.h>
Public Member Functions | |
HighlightingVisitor (Highlights &highlights, const std::optional< HighlightsRange > &range) | |
bool | operator() (QQmlJS::Dom::Path, const QQmlJS::Dom::DomItem &item, bool) |
Definition at line 102 of file qqmlsemantictokens_p.h.
HighlightingVisitor::HighlightingVisitor | ( | Highlights & | highlights, |
const std::optional< HighlightsRange > & | range ) |
Definition at line 88 of file qqmlsemantictokens.cpp.
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().