def _stringify(self, transform: StringifyTransform) -> str:
    res = []
    res.append(transform(self.className))
    res.append('::*')
    if self.volatile:
        res.append('volatile')
    if self.const:
        if self.volatile:
            res.append(' ')
        res.append('const')
    if self.next.require_space_after_declSpecs():
        res.append(' ')
    res.append(transform(self.next))
    return ''.join(res)
def _stringify(self, transform: StringifyTransform) -> str:
    res = []
    res.append(transform(self.className))
    res.append('::*')
    if self.volatile:
        res.append('volatile')
    if self.const:
        if self.volatile:
            res.append(' ')
        res.append('const')
    if self.next.require_space_after_declSpecs():
        res.append(' ')
    res.append(transform(self.next))
    return .join(res)