CodeQL library for Python
codeql/python-all 7.2.0 (changelog, source)
Search

Member predicate ImportMember::getAFlowNode

DEPRECATED: use ControlFlowNode.getNode() from the other direction instead; that is, replace e.getAFlowNode() = n with n.getNode() = e. This API is being removed to untangle the AST and CFG hierarchies in preparation for migrating the dataflow library off the legacy CFG.

Gets a flow node corresponding directly to this node. NOTE: For some statements and other purely syntactic elements, there may not be a ControlFlowNode.

ImportMemberNode getAFlowNode()