emit method
Implementation
emit(String type) {
lexemes.add(Lexeme(
type: LexemeType.fromString(type),
str: sliceString(),
start: start,
end: pos,
));
start = pos;
}
emit(String type) {
lexemes.add(Lexeme(
type: LexemeType.fromString(type),
str: sliceString(),
start: start,
end: pos,
));
start = pos;
}