Splits source into tokens.
Lexer.tokenize("<h1>{{ title }}</h1>").map(&.kind) # => [Kind::Text, Kind::Variable, Kind::Text]