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

Predicate Make::BlockSlices::blockSlice

Holds if blockSlice is a string representation of a line slice of a basic block. first is the first node in the slice.

Import path

import codeql.controlflow.test.TestCfg
predicate blockSlice(int line, ControlFlowNode first, string blockSlice)