Added `base_iterator_type` typedef to lexer

Signed-off-by: K-ballo <k@fusionfenix.com>