The node you are looking for is at Texinfo::Common $entry_content_element = index_content_element($element, $prefer_reference_element).