noteState function
Implementation
Function noteState(Lexer lexer) {
lexer.take(["*", " "]);
lexer.ignore();
String chr = lexer.next();
while (!isLineTerminator(chr)) {
chr = lexer.next();
}
lexer.rewind();
lexer.emit(TokenType.Note);
return idleState;
}