Delete strange method Parser#get_token_offset.
Use ruby-style naming rather than java-style.