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