Remove an xref from the function (the caller was probably found irrelevant for our search). Args: xref (CodeContext): code context that calls (xrefs) our function
(self, xref)
| 49 | self.xrefs.add(xref) |
| 50 | |
| 51 | def removeXref(self, xref): |
| 52 | """Remove an xref from the function (the caller was probably found irrelevant for our search). |
| 53 | |
| 54 | Args: |
| 55 | xref (CodeContext): code context that calls (xrefs) our function |
| 56 | """ |
| 57 | if xref in self.xrefs: |
| 58 | self.xrefs.remove(xref) |
| 59 | |
| 60 | def used(self): |
| 61 | """Check if our external function is still used by active functions. |