MCPcopy Create free account
hub / github.com/KDE/kdevelop / isQmlFile

Function isQmlFile

plugins/qmljs/duchain/helper.cpp:284–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284bool isQmlFile(const DUContext* context)
285{
286 DUChainReadLocker lock;
287 return ParseSession::guessLanguageFromSuffix(context->topContext()->url().str()) == Dialect::Qml;
288}
289
290void registerDUChainItems()
291{

Callers 4

startVisitingMethod · 0.85
encounterMethod · 0.85
encounterParentMethod · 0.85
normalCompletionMethod · 0.85

Calls 3

strMethod · 0.80
urlMethod · 0.45
topContextMethod · 0.45

Tested by

no test coverage detected