/// Converts a `PointIndex` back to a location. O(1).
Converts a `PointIndex` back to a location.
Converts a ` PointIndex ` back to a location .
crate fn to_location(&self, index: PointIndex) -> Location {
        assert!(index.index() < self.num_points);
        let block = self.basic_blocks[index];
        let start_index = self.statements_before_block[block];
        let statement_index = index.index() - start_index;
        Location { block, statement_index }
    }
crate fn to_location ( & self , index : PointIndex ) -> Location { assert ! ( index index ( ) self num_points ) ; let block = self . basic_blocks [ index ] ; let start_index = self . statements_before_block [ block ] ; let statement_index = index . index ( ) - start_index ; Location { block , statement_index } }
Converts a `PointIndex` back to a location.
Converts a ` PointIndex ` back to a location .
&self
index
PointIndex