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

Method encounterDeclarationInNodeModule

plugins/qmljs/duchain/expressionvisitor.cpp:345–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345bool ExpressionVisitor::encounterDeclarationInNodeModule(const QualifiedIdentifier& id,
346 const QString& module)
347{
348 return encounterDeclarationInContext(
349 id,
350 QmlJS::getInternalContext(
351 QmlJS::NodeJS::instance().moduleExports(module, m_context->url())
352 )
353 );
354}
355
356bool ExpressionVisitor::encounterGlobalDeclaration(const QualifiedIdentifier& id)
357{

Callers

nothing calls this directly

Calls 3

getInternalContextFunction · 0.85
moduleExportsMethod · 0.80
urlMethod · 0.45

Tested by

no test coverage detected