Home
last modified time | relevance | path

Searched refs:allDeclarations (Results 1 – 25 of 28) sorted by relevance

12

/dports/devel/kdevelop/kdevelop-21.12.3/kdevplatform/language/duchain/navigation/
H A Dusescollector.cpp164 QSet<IndexedDeclaration> allDeclarations; in startCollecting() local
171 allDeclarations.insert(d); in startCollecting()
181 allDeclarations.insert(IndexedDeclaration(constructor)); in startCollecting()
192 allDeclarations.insert(IndexedDeclaration(destructor)); in startCollecting()
200 for (const IndexedDeclaration d : qAsConst(allDeclarations)) { in startCollecting()
204 allDeclarations.insert(IndexedDeclaration(definition)); in startCollecting()
213 candidateTopContexts.reserve(allDeclarations.size()); in startCollecting()
214 m_declarations.reserve(allDeclarations.size()); in startCollecting()
215 for (const IndexedDeclaration d : qAsConst(allDeclarations)) { in startCollecting()
H A Duseswidget.cpp468 const QList<IndexedDeclaration>& allDeclarations, in TopContextUsesWidget() argument
472 , m_allDeclarations(allDeclarations) in TopContextUsesWidget()
/dports/devel/kdev-php/kdev-php-21.12.3/duchain/
H A Dexpressionvisitor.cpp295 QList<DeclarationPointer> decs = m_result.allDeclarations(); in visitFunctionCallParameterList()
336 if (!m_result.allDeclarations().isEmpty()) { in visitFunctionCall()
430 if (!m_result.allDeclarations().isEmpty()) { in visitConstantOrClassConst()
653 if (!m_result.allDeclarations().isEmpty()) { in visitVariableProperty()
745 if (!m_result.allDeclarations().isEmpty()) { in visitClassNameReference()
762 } else if (!m_result.allDeclarations().isEmpty()) { in visitClassNameReference()
771 type = m_result.allDeclarations().last()->type<StructureType>(); in visitClassNameReference()
987 if (!m_result.allDeclarations().isEmpty()) { in useDeclaration()
988 usingDeclaration(node, m_result.allDeclarations().last()); in useDeclaration()
999 if (!m_result.allDeclarations().isEmpty()) { in useDeclaration()
[all …]
H A Dexpressionevaluationresult.h49 QList<KDevelop::DeclarationPointer> allDeclarations() const;
H A Dexpressionevaluationresult.cpp83 QList<DeclarationPointer> ExpressionEvaluationResult::allDeclarations() const in allDeclarations() function in Php::ExpressionEvaluationResult
/dports/devel/kdevelop/kdevelop-21.12.3/kdevplatform/language/duchain/
H A Dduchainutils.cpp446 const IndexedDeclaration* allDeclarations; in collectAllVersions() local
447 PersistentSymbolTable::self().declarations(decl->qualifiedIdentifier(), count, allDeclarations); in collectAllVersions()
449 if(!(allDeclarations[a] == IndexedDeclaration(decl))) in collectAllVersions()
450 ret << allDeclarations[a]; in collectAllVersions()
487 const IndexedDeclaration* allDeclarations; in inheritersInternal() local
488 PersistentSymbolTable::self().declarations(decl->qualifiedIdentifier(), count, allDeclarations); in inheritersInternal()
492 if(allDeclarations[a].data() && allDeclarations[a].data() != decl) { in inheritersInternal()
493 ret += inheritersInternal(allDeclarations[a].data(), maxAllowedSteps, false); in inheritersInternal()
H A Dducontext.h569 QVector<QPair<Declaration*, int>> allDeclarations(const CursorInRevision& position,
/dports/devel/umbrello/umbrello-21.12.3/lib/kdev4-php/duchain/
H A Dexpressionvisitor.cpp270 QList<DeclarationPointer> decs = m_result.allDeclarations(); in visitFunctionCallParameterList()
311 if (!m_result.allDeclarations().isEmpty()) { in visitFunctionCall()
312 usingDeclaration(node->stringFunctionName, m_result.allDeclarations().last()); in visitFunctionCall()
313 … FunctionType::Ptr function = m_result.allDeclarations().last()->type<FunctionType>(); in visitFunctionCall()
394 if (!m_result.allDeclarations().isEmpty()) { in visitConstantOrClassConst()
395 usingDeclaration(node->classConstant, m_result.allDeclarations().last()); in visitConstantOrClassConst()
578 if (!m_result.allDeclarations().isEmpty()) { in visitVariableProperty()
580 …gDeclaration(node->objectProperty->objectDimList->variableName, m_result.allDeclarations().last()); in visitVariableProperty()
583 … FunctionType::Ptr function = m_result.allDeclarations().last()->type<FunctionType>(); in visitVariableProperty()
618 if (!m_result.allDeclarations().isEmpty()) { in visitStaticMember()
[all …]
H A Dexpressionevaluationresult.h48 QList<KDevelop::DeclarationPointer> allDeclarations() const;
H A Dexpressionevaluationresult.cpp80 QList<DeclarationPointer> ExpressionEvaluationResult::allDeclarations() const in allDeclarations() function in Php::ExpressionEvaluationResult
/dports/devel/umbrello/umbrello-21.12.3/lib/kdev5-php/duchain/
H A Dexpressionvisitor.cpp276 QList<DeclarationPointer> decs = m_result.allDeclarations(); in visitFunctionCallParameterList()
317 if (!m_result.allDeclarations().isEmpty()) { in visitFunctionCall()
318 usingDeclaration(node->stringFunctionName, m_result.allDeclarations().last()); in visitFunctionCall()
319 … FunctionType::Ptr function = m_result.allDeclarations().last()->type<FunctionType>(); in visitFunctionCall()
407 if (!m_result.allDeclarations().isEmpty()) { in visitConstantOrClassConst()
408 usingDeclaration(node->classConstant, m_result.allDeclarations().last()); in visitConstantOrClassConst()
594 if (!m_result.allDeclarations().isEmpty()) { in visitVariableProperty()
596 …gDeclaration(node->objectProperty->objectDimList->variableName, m_result.allDeclarations().last()); in visitVariableProperty()
599 … FunctionType::Ptr function = m_result.allDeclarations().last()->type<FunctionType>(); in visitVariableProperty()
634 if (!m_result.allDeclarations().isEmpty()) { in visitStaticMember()
[all …]
H A Dexpressionevaluationresult.h48 QList<KDevelop::DeclarationPointer> allDeclarations() const;
H A Dexpressionevaluationresult.cpp83 QList<DeclarationPointer> ExpressionEvaluationResult::allDeclarations() const in allDeclarations() function in Php::ExpressionEvaluationResult
/dports/devel/umbrello/umbrello-21.12.3/lib/kdev4-php/duchain/tests/
H A Dexpressionparser.cpp99 QCOMPARE(res.allDeclarations().count(), 1); in memberVariable()
100 …QCOMPARE(res.allDeclarations().first().data(), top->childContexts().first()->localDeclarations().f… in memberVariable()
118 QCOMPARE(res.allDeclarations().size(), 1); in memberFunction()
119 …QCOMPARE(res.allDeclarations().first().data(), top->childContexts().first()->localDeclarations().f… in memberFunction()
221 QCOMPARE(res.allDeclarations().count(), 1); in globalFunction()
222 QCOMPARE(res.allDeclarations().first().data(), top->localDeclarations().first()); in globalFunction()
261 QCOMPARE(res.allDeclarations().count(), 1); in thisObject()
262 QCOMPARE(res.allDeclarations().first().data(), top->localDeclarations().first()); in thisObject()
/dports/devel/umbrello/umbrello-21.12.3/lib/kdev5-php/duchain/tests/
H A Dexpressionparser.cpp99 QCOMPARE(res.allDeclarations().count(), 1); in memberVariable()
100 …QCOMPARE(res.allDeclarations().first().data(), top->childContexts().first()->localDeclarations().f… in memberVariable()
118 QCOMPARE(res.allDeclarations().size(), 1); in memberFunction()
119 …QCOMPARE(res.allDeclarations().first().data(), top->childContexts().first()->localDeclarations().f… in memberFunction()
221 QCOMPARE(res.allDeclarations().count(), 1); in globalFunction()
222 QCOMPARE(res.allDeclarations().first().data(), top->localDeclarations().first()); in globalFunction()
261 QCOMPARE(res.allDeclarations().count(), 1); in thisObject()
262 QCOMPARE(res.allDeclarations().first().data(), top->localDeclarations().first()); in thisObject()
/dports/devel/kdev-php/kdev-php-21.12.3/duchain/tests/
H A Dexpressionparser.cpp99 QCOMPARE(res.allDeclarations().count(), 1); in memberVariable()
100 …QCOMPARE(res.allDeclarations().first().data(), top->childContexts().first()->localDeclarations().f… in memberVariable()
118 QCOMPARE(res.allDeclarations().size(), 1); in memberFunction()
119 …QCOMPARE(res.allDeclarations().first().data(), top->childContexts().first()->localDeclarations().f… in memberFunction()
229 QCOMPARE(res.allDeclarations().count(), 1); in globalFunction()
230 QCOMPARE(res.allDeclarations().first().data(), top->localDeclarations().first()); in globalFunction()
269 QCOMPARE(res.allDeclarations().count(), 1); in thisObject()
270 QCOMPARE(res.allDeclarations().first().data(), top->localDeclarations().first()); in thisObject()
/dports/devel/kdev-python/kdev-python-21.12.3/duchain/tests/
H A Dpyduchaintest.cpp1325 … const auto decls = ctx->allDeclarations(CursorInRevision::invalid(), ctx->topContext(), false); in testImportDeclarations()
1407 auto decls1 = ctx1->allDeclarations(CursorInRevision::invalid(), ctx1->topContext()); in testAutocompletionFlickering()
1421 auto decls2 = ctx2->allDeclarations(CursorInRevision::invalid(), ctx2->topContext()); in testAutocompletionFlickering()
1438 …decls1 = ctx1->allDeclarations(CursorInRevision::invalid(), ctx1->topContext(), false).first().fir… in testAutocompletionFlickering()
1439 ->allDeclarations(CursorInRevision::invalid(), ctx1->topContext()); in testAutocompletionFlickering()
1453 …decls2 = ctx2->allDeclarations(CursorInRevision::invalid(), ctx2->topContext(), false).first().fir… in testAutocompletionFlickering()
1454 ->allDeclarations(CursorInRevision::invalid(), ctx2->topContext()); in testAutocompletionFlickering()
1562 … ctx->allDeclarations(CursorInRevision::invalid(), ctx->topContext()).first().first); in testFunctionArgs()
1580 auto decls = ctx->allDeclarations(CursorInRevision::invalid(), ctx->topContext(), false); in testInheritance()
/dports/lang/purescript/purescript-0.14.5/src/Language/PureScript/Docs/Convert/
H A DReExports.hs332 pure (allDeclarations mdl)
487 allDeclarations :: Module -> [Declaration]
488 allDeclarations Module{..} = function
/dports/devel/kdev-php/kdev-php-21.12.3/docs/
H A Dphpdocsmodel.cpp66 foreach ( DeclDepthPair declpair, top->allDeclarations(top->range().end, top) ) { in fillModel()
/dports/devel/umbrello/umbrello-21.12.3/lib/kdev5-php/docs/
H A Dphpdocsmodel.cpp67 foreach ( DeclDepthPair declpair, top->allDeclarations(top->range().end, top) ) { in fillModel()
/dports/devel/kdev-python/kdev-python-21.12.3/codecompletion/
H A Dcontext.cpp209 const auto declarations = c->allDeclarations( in defineItems()
260 …auto decls = m_duContext->topContext()->allDeclarations(CursorInRevision::invalid(), m_duContext->… in raiseItems()
304 … declarations = internal->allDeclarations(m_position, m_duContext->topContext(), false); in inheritanceItems()
310 declarations = m_duContext->allDeclarations(m_position, m_duContext->topContext()); in inheritanceItems()
603 auto declarations = m_duContext->allDeclarations(m_position, m_duContext->topContext()); in completionItems()
775 … const auto declarations = currentlySearchedContext->allDeclarations(CursorInRevision::invalid(), in getCompletionItemsForOneType()
/dports/devel/kdevelop/kdevelop-21.12.3/plugins/qmljs/codecompletion/items/
H A Dfunctioncalltipcompletionitem.cpp45 …const auto args = argsContext->allDeclarations(CursorInRevision::invalid(), decl->topContext(), fa… in FunctionCalltipCompletionItem()
/dports/devel/kdevelop/kdevelop-21.12.3/plugins/cmake/
H A Dcmakecodecompletionmodel.cpp132 …const auto list = ctx->allDeclarations( ctx->transformToLocalRevision(KTextEditor::Cursor(range.st… in completionInvoked()
/dports/devel/kdev-php/kdev-php-21.12.3/completion/
H A Dcontext.cpp1268 …foreach(DeclarationDepthPair decl, ctx->allDeclarations(ctx->range().end, m_duContext->topContext(… in completionItems()
1380 foreach(DeclarationDepthPair decl, ctx->allDeclarations( in completionItems()
1441 const auto decls = m_duContext->allDeclarations( in completionItems()
/dports/devel/umbrello/umbrello-21.12.3/lib/kdev5-php/completion/
H A Dcontext.cpp1252 …foreach(DeclarationDepthPair decl, ctx->allDeclarations(ctx->range().end, m_duContext->topContext(… in completionItems()
1364 foreach(DeclarationDepthPair decl, ctx->allDeclarations( in completionItems()
1425 QList<DeclarationDepthPair> decls = m_duContext->allDeclarations( in completionItems()

12