A simple implementation of an YAML lexer. It handles most cases. It is not a validating lexer.
Step through a single iteration of the tokenization process. This will yield (potentially) many tokens, and possibly zero tokens.
[Validate]