logic: respect class qualifyer in method call for python post processing (#951)

If the class of a called method is explicitly specified ("Base.__init__()"), only record an ambiguous edge to that method.
This commit is contained in:
Malte Langkabel
2020-03-30 21:24:23 +02:00
committed by GitHub
parent 31cbf6c11a
commit f6e8a2125d
8 changed files with 748 additions and 585 deletions
@@ -20,6 +20,8 @@ class TaskExecuteCustomCommands
, public MessageListener<MessageIndexingInterrupted>
{
public:
static void runPythonPostProcessing(PersistentStorage& storage);
TaskExecuteCustomCommands(
std::unique_ptr<IndexerCommandProvider> indexerCommandProvider,
std::shared_ptr<PersistentStorage> storage,
@@ -38,9 +40,7 @@ private:
void executeParallelIndexerCommands(int threadId, std::shared_ptr<Blackboard> blackboard);
void runIndexerCommand(
std::shared_ptr<IndexerCommandCustom> indexerCommand, std::shared_ptr<Blackboard> blackboard);
void runPythonPostProcessing(PersistentStorage& storage);
private:
std::unique_ptr<IndexerCommandProvider> m_indexerCommandProvider;
std::shared_ptr<PersistentStorage> m_storage;
std::shared_ptr<DialogView> m_dialogView;