def _stringify(self, transform: StringifyTransform) -> str:
    res = []
    if self.scoped:
        res.append(self.scoped)
        res.append(' ')
    res.append(transform(self.name))
    if self.underlyingType:
        res.append(' : ')
        res.append(transform(self.underlyingType))
    return ''.join(res)
def _stringify(self, transform: StringifyTransform) -> str:
    res = []
    if self.scoped:
        res.append(self.scoped)
        res.append(' ')
    res.append(transform(self.name))
    if self.underlyingType:
        res.append(' : ')
        res.append(transform(self.underlyingType))
    return .join(res)