The node you are looking for is at Texinfo::Common $text = enumerate_item_representation($specification, $number).