tokenizer: implement _consumeSequence

allows the removal of a lot of code, at the cost of slower sequences