code: func yaml_parser_parse(parser *yaml_parser_t, event *yaml_event_t) bool {
  	// Erase the event object.
  	*event = yaml_event_t{}
  
  	// No events after the end of the stream or error.
  	if parser.stream_end_produced || parser.error != yaml_NO_ERROR || parser.state == yaml_PARSE_END_STATE {
  		return true
  	}
  
  	// Generate the next event.
  	return yaml_parser_state_machine(parser, event)
  }
docs: // Get the next event.