def describe_signature(self, signode: TextElement, mode: str, env: 'BuildEnvironment', prefix: str, templateArgs: str, symbol: 'Symbol') -> None:
    verify_description_mode(mode)
    if (mode == 'markType'):
        targetText = ((prefix + self.identifier) + templateArgs)
        pnode = addnodes.pending_xref('', refdomain='cpp', reftype='identifier', reftarget=targetText, modname=None, classname=None)
        key = symbol.get_lookup_key()
        pnode['cpp:parent_key'] = key
        if self.is_anon():
            pnode += nodes.strong(text='[anonymous]')
        else:
            pnode += nodes.Text(self.identifier)
        signode += pnode
    elif (mode == 'lastIsName'):
        if self.is_anon():
            signode += nodes.strong(text='[anonymous]')
        else:
            signode += addnodes.desc_name(self.identifier, self.identifier)
    elif (mode == 'noneIsName'):
        if self.is_anon():
            signode += nodes.strong(text='[anonymous]')
        else:
            signode += nodes.Text(self.identifier)
    else:
        raise Exception(('Unknown description mode: %s' % mode))
def describe_signature(self, signode: TextElement, mode: str, env: 'BuildEnvironment', prefix: str, templateArgs: str, symbol: 'Symbol') -> None:
    verify_description_mode(mode)
    if (mode == 'markType'):
        targetText = ((prefix + self.identifier) + templateArgs)
        pnode = addnodes.pending_xref(, refdomain='cpp', reftype='identifier', reftarget=targetText, modname=None, classname=None)
        key = symbol.get_lookup_key()
        pnode['cpp:parent_key'] = key
        if self.is_anon():
            pnode += nodes.strong(text='[anonymous]')
        else:
            pnode += nodes.Text(self.identifier)
        signode += pnode
    elif (mode == 'lastIsName'):
        if self.is_anon():
            signode += nodes.strong(text='[anonymous]')
        else:
            signode += addnodes.desc_name(self.identifier, self.identifier)
    elif (mode == 'noneIsName'):
        if self.is_anon():
            signode += nodes.strong(text='[anonymous]')
        else:
            signode += nodes.Text(self.identifier)
    else:
        raise Exception(('Unknown description mode: %s' % mode))