how add parse in scanner

how add parse in scanner
this is code take if statement and split to types
and i want to add to code parse
where check if statement that is in code with if correct statement and know do it is correct or no ?
plz anyone help me and thank you

Yes, cross-posting can frustrate anyone who tries to help you only to find out later that the same answer was given hours ago in a cross-posted thread. No one likes wasting their time, especially a volunteer. The polite thing to do would be to not do this, but if you feel that you absolutely must, to at least provide links in both cross-posts to each other.

there is anyone reply me

Hopefully, but again being upfront about the cross-posting will help increase your odds.

Edit: Also if possible, please edit your questions. For some reason, they seem difficult for me to understand. I assume that English is not your native language. Am I correct?

Yes, cross-posting can frustrate anyone who tries to help you only to find out later that the same answer was given hours ago in a cross-posted thread. No one likes wasting their time, especially a volunteer. The polite thing to do would be to not do this, but if you feel that you absolutely must, to at least provide links in both cross-posts to each other.

Hopefully, but again being upfront about the cross-posting will help increase your odds.