MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / compute_imports

Method compute_imports

tools/PythonExtensionChecker.py:568–580  ·  view source on GitHub ↗
(declaration, imports)

Source from the content-addressed store, hash-verified

566
567 @staticmethod
568 def compute_imports(declaration, imports):
569 if declaration.find("libcpp_vector") != -1:
570 imports["vector"] = 0
571 if declaration.find("libcpp_pair") != -1:
572 imports["pair"] = 0
573 if declaration.find("libcpp_map") != -1:
574 imports["map"] = 0
575 if declaration.find("libcpp_set") != -1:
576 imports["set"] = 0
577 if declaration.find("libcpp_string") != -1:
578 imports["string"] = 0
579 if declaration.find("bool") != -1:
580 imports["bool"] = 0
581
582 def initialize_dgencpp(self):
583 pass

Callers 1

get_pxd_from_classMethod · 0.80

Calls 1

findMethod · 0.45

Tested by

no test coverage detected