The node you are looking for is at Texinfo::Parser $tree = parse_texi_text($parser, $text, $first_line_number).