Reconstructs parts of a normalized R ast into R code on an expression basis.

The normalized ast to be used as a basis for reconstruction

The selection of nodes to be reconstructed (probably the NodeIds identified by the slicer)

A predicate that can be used to force the reconstruction of a node

The number of lines for which autoSelectIf triggered, as well as the reconstructed code itself.