Revert "add - state transitioning method";  analyze serves the function of a state transitioning method

This reverts commit 7f38bf0b39143188fec6d089fd0a783d7cf8af42.
cleanup some code docs for parser