achieve the part of the ifstatementparser