Module API
Provides classes and predicates for working with the API boundary between the current codebase and external libraries.
See API::Node
for more in-depth documentation.
Import path
import semmle.python.ApiGraphs
Predicates
builtin | Gets a node corresponding to the built-in with the given name, if any. |
moduleImport | Gets a node corresponding to an import of module |
moduleImportExists | Holds if an import of module |
root | Gets the root node. |
Classes
CallNode | A |
Def | A node corresponding to the rhs of an API component. |
EntryPoint | An API entry point. |
Node | A node in the API graph, representing a value that has crossed the boundary between this codebase and an external library (or in general, any external codebase). |
Root | The root node of an API graph. |
Use | A node corresponding to the use of an API component. |
Modules
Label | Provides classes modeling the various edges (labels) in the API graph. |