code: func yaml_parser_fetch_directive(parser *yaml_parser_t) bool {
  	// Reset the indentation level.
  	if !yaml_parser_unroll_indent(parser, -1) {
  		return false
  	}
  
  	// Reset simple keys.
  	if !yaml_parser_remove_simple_key(parser) {
  		return false
  	}
  
  	parser.simple_key_allowed = false
  
  	// Create the YAML-DIRECTIVE or TAG-DIRECTIVE token.
  	token := yaml_token_t{}
  	if !yaml_parser_scan_directive(parser, &token) {
  		return false
  	}
  	// Append the token to the queue.
  	yaml_insert_token(parser, -1, &token)
  	return true
  }
docs: // Produce a VERSION-DIRECTIVE or TAG-DIRECTIVE token.