Aodhnait Étaín
a29dfc413c
Now when calling peek, TokenStream will remember the token it parses and store it in a field. Then, when calling next, it looks at that field and if it's not empty, it returns it instead. This allows us to avoid having to parse same token in the input two times, which ultimately results in better performance. |
||
---|---|---|
src | ||
.gitignore | ||
Cargo.toml |