The node you are looking for is at Texinfo::Common $level = section_level($section).