Pattern visitor for binary blocks