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

Member predicate CfgOrigin::asCfgNodeOrHere

Get a ControlFlowNode from this or here. If this is a ControlFlowNode then use that, otherwise fall back on here

ControlFlowNode asCfgNodeOrHere(ControlFlowNode here)