def describe_signature(self, signode: TextElement, mode: str, env: 'BuildEnvironment', symbol: 'Symbol') -> None:
    if self.rooted:
        signode.append(nodes.Text('::'))
    signode.append(nodes.Text('new '))
    if self.isNewTypeId:
        self.typ.describe_signature(signode, mode, env, symbol)
    else:
        assert False
    if (self.initList is not None):
        self.initList.describe_signature(signode, mode, env, symbol)
def describe_signature(self, signode: TextElement, mode: str, env: 'BuildEnvironment', symbol: 'Symbol') -> None:
    if self.rooted:
        signode.append(nodes.Text('::'))
    signode.append(nodes.Text('new '))
    if self.isNewTypeId:
        self.typ.describe_signature(signode, mode, env, symbol)
    else:
        assert False
    if (self.initList is not None):
        self.initList.describe_signature(signode, mode, env, symbol)