Module Comparisons

Import path

semmle.python.Comparisons

Imports

Predicates

Classes

CompareOp
Comparison

A comparison which can be simplified to the canonical form x OP y + k where x and y are ControlFlowNodes, k is a floating point constant and OP is one of <=, >, == or !=.

ComparisonControlBlock

A basic block which terminates in a condition, splitting the subsequent control flow, in which the condition is an instance of Comparison