In the reaction,
the electrophile involved is
dichloromethyl cation C+HCl2
formyl cation (C+HO)
dichloromethyl anion C¯HCl2
dichlorocarbene :CCl2
It is Reimer-Tiemann reaction. The electrophile formed is dichlorocarbene :CCl2 which is formed according to the following mechanism :