def __init__(self, document: nodes.document, builder: 'TexinfoBuilder') -> None:
    super().__init__(document, builder)
    self.init_settings()
    self.written_ids: Set[str] = set()
    self.referenced_ids: Set[str] = set()
    self.indices: List[Tuple[(str, str)]] = []
    self.short_ids: Dict[(str, str)] = {}
    self.node_names: Dict[(str, str)] = {}
    self.node_menus: Dict[(str, List[str])] = {}
    self.rellinks: Dict[(str, List[str])] = {}
    self.collect_indices()
    self.collect_node_names()
    self.collect_node_menus()
    self.collect_rellinks()
    self.body: List[str] = []
    self.context: List[str] = []
    self.descs: List[addnodes.desc] = []
    self.previous_section: nodes.section = None
    self.section_level = 0
    self.seen_title = False
    self.next_section_ids: Set[str] = set()
    self.escape_newlines = 0
    self.escape_hyphens = 0
    self.curfilestack: List[str] = []
    self.footnotestack: List[Dict[(str, List[Union[(collected_footnote, bool)]])]] = []
    self.in_footnote = 0
    self.in_samp = 0
    self.handled_abbrs: Set[str] = set()
    self.colwidths: List[int] = None
def __init__(self, document: nodes.document, builder: 'TexinfoBuilder') -> None:
    super().__init__(document, builder)
    self.init_settings()
    self.written_ids: Set[str] = set()
    self.referenced_ids: Set[str] = set()
    self.indices: List[Tuple[(str, str)]] = []
    self.short_ids: Dict[(str, str)] = {}
    self.node_names: Dict[(str, str)] = {}
    self.node_menus: Dict[(str, List[str])] = {}
    self.rellinks: Dict[(str, List[str])] = {}
    self.collect_indices()
    self.collect_node_names()
    self.collect_node_menus()
    self.collect_rellinks()
    self.body: List[str] = []
    self.context: List[str] = []
    self.descs: List[addnodes.desc] = []
    self.previous_section: nodes.section = None
    self.section_level = 0
    self.seen_title = False
    self.next_section_ids: Set[str] = set()
    self.escape_newlines = 0
    self.escape_hyphens = 0
    self.curfilestack: List[str] = []
    self.footnotestack: List[Dict[(str, List[Union[(collected_footnote, bool)]])]] = []
    self.in_footnote = 0
    self.in_samp = 0
    self.handled_abbrs: Set[str] = set()
    self.colwidths: List[int] = None