def describe_signature(self, signode: TextElement, mode: str, env: 'BuildEnvironment', symbol: 'Symbol') -> None:
    verify_description_mode(mode)
    paramlist = addnodes.desc_parameterlist()
    for arg in self.args:
        param = addnodes.desc_parameter('', '', noemph=True)
        if (mode == 'lastIsName'):
            arg.describe_signature(param, 'param', env, symbol=symbol)
        else:
            arg.describe_signature(param, 'markType', env, symbol=symbol)
        paramlist += param
    signode += paramlist

    def _add_anno(signode: TextElement, text: str) -> None:
        signode += nodes.Text(' ')
        signode += addnodes.desc_annotation(text, text)

    def _add_text(signode: TextElement, text: str) -> None:
        signode += nodes.Text((' ' + text))
    if self.volatile:
        _add_anno(signode, 'volatile')
    if self.const:
        _add_anno(signode, 'const')
    if self.refQual:
        _add_text(signode, self.refQual)
    if self.exceptionSpec:
        _add_anno(signode, str(self.exceptionSpec))
    if self.final:
        _add_anno(signode, 'final')
    if self.override:
        _add_anno(signode, 'override')
    if self.initializer:
        _add_text(signode, ('= ' + str(self.initializer)))
def describe_signature(self, signode: TextElement, mode: str, env: 'BuildEnvironment', symbol: 'Symbol') -> None:
    verify_description_mode(mode)
    paramlist = addnodes.desc_parameterlist()
    for arg in self.args:
        param = addnodes.desc_parameter(, , noemph=True)
        if (mode == 'lastIsName'):
            arg.describe_signature(param, 'param', env, symbol=symbol)
        else:
            arg.describe_signature(param, 'markType', env, symbol=symbol)
        paramlist += param
    signode += paramlist

    def _add_anno(signode: TextElement, text: str) -> None:
        signode += nodes.Text(' ')
        signode += addnodes.desc_annotation(text, text)

    def _add_text(signode: TextElement, text: str) -> None:
        signode += nodes.Text((' ' + text))
    if self.volatile:
        _add_anno(signode, 'volatile')
    if self.const:
        _add_anno(signode, 'const')
    if self.refQual:
        _add_text(signode, self.refQual)
    if self.exceptionSpec:
        _add_anno(signode, str(self.exceptionSpec))
    if self.final:
        _add_anno(signode, 'final')
    if self.override:
        _add_anno(signode, 'override')
    if self.initializer:
        _add_text(signode, ('= ' + str(self.initializer)))