global tokenType: pass all original 488 tests!

global tokenType, now rarely use token.type directly.
pass all original 488 tests!