emit: expected event name - (line 1): Missing end to balance this begin - (line 1): Missing end to balance this while loop - (line 1): Missing end to balance this for loop - (line 1): Missing end to balance this switch statement - (line 1): Missing end to balance this function definition - (line 1): Missing end to balance this if statement