def _stringify(self, transform: StringifyTransform) -> str:
    res = []
    res.extend((transform(attr) for attr in self.attrs))
    if self.storage:
        res.append(self.storage)
    if self.threadLocal:
        res.append('thread_local')
    if self.inline:
        res.append('inline')
    if self.friend:
        res.append('friend')
    if self.virtual:
        res.append('virtual')
    if self.explicit:
        res.append('explicit')
    if self.constexpr:
        res.append('constexpr')
    if self.volatile:
        res.append('volatile')
    if self.const:
        res.append('const')
    return ' '.join(res)
def _stringify(self, transform: StringifyTransform) -> str:
    res = []
    res.extend((transform(attr) for attr in self.attrs))
    if self.storage:
        res.append(self.storage)
    if self.threadLocal:
        res.append('thread_local')
    if self.inline:
        res.append('inline')
    if self.friend:
        res.append('friend')
    if self.virtual:
        res.append('virtual')
    if self.explicit:
        res.append('explicit')
    if self.constexpr:
        res.append('constexpr')
    if self.volatile:
        res.append('volatile')
    if self.const:
        res.append('const')
    return ' '.join(res)