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