Is there any way to count all if()
(or else()
) instructions without using BufferedReader
to search for distinguish words ? If there isn't - how can I guess if the if()
instruction inside the /* comment:
/*
if(*condition*){
*do something*
}
*/
is just a comment, not an instruction?