advance method
Implementation
StreamChar advance() {
final prev = peek();
curr++;
if (prev.lexeme == '\n') {
bumpline();
}
return prev;
}
StreamChar advance() {
final prev = peek();
curr++;
if (prev.lexeme == '\n') {
bumpline();
}
return prev;
}