Renamed EOF to EmitEOF, added Eof command to check if lexer is in End of File state