Class EmptinessSuccessor
An emptiness control flow successor.
For example, this program fragment:
foreach (var arg in args)
{
yield return arg;
}
yield return "";
has a control flow graph containing emptiness successors:
args
|
loop-header------<-----
/ \ \
/ \ |
/ \ |
/ \ |
empty non-empty |
| \ |
yield return "" \ |
var arg |
| |
yield return arg |
\_________/
Import path
import codeql.controlflow.SuccessorTypeDirect supertypes
Indirect supertypes
Predicates
Inherited predicates
| getDual | Gets the dual of this conditional successor. That is, the conditional successor of the same kind but with the opposite value. | from ConditionalSuccessorImpl |