CodeQL library for Python
codeql/python-all 2.1.3-dev (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)