token: Remove filter dependency from lexer.