Reorganize peek API for parser and scanner.