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