def _stringify(self, transform: StringifyTransform) -> str:
    res = []
    if (self.visibility and (self.visibility != 'public')):
        res.append(self.visibility)
        res.append(' ')
    if self.templatePrefix:
        res.append(transform(self.templatePrefix))
    res.append(transform(self.declaration))
    return ''.join(res)
def _stringify(self, transform: StringifyTransform) -> str:
    res = []
    if (self.visibility and (self.visibility != 'public')):
        res.append(self.visibility)
        res.append(' ')
    if self.templatePrefix:
        res.append(transform(self.templatePrefix))
    res.append(transform(self.declaration))
    return .join(res)