Scanner can tokenize types