def mergeWith(self, other: 'ASTDeclSpecsSimple') -> 'ASTDeclSpecsSimple':
    if (not other):
        return self
    return ASTDeclSpecsSimple((self.storage or other.storage), (self.threadLocal or other.threadLocal), (self.inline or other.inline), (self.virtual or other.virtual), (self.explicit or other.explicit), (self.constexpr or other.constexpr), (self.volatile or other.volatile), (self.const or other.const), (self.friend or other.friend), (self.attrs + other.attrs))
def mergeWith(self, other: 'ASTDeclSpecsSimple') -> 'ASTDeclSpecsSimple':
    if (not other):
        return self
    return ASTDeclSpecsSimple((self.storage or other.storage), (self.threadLocal or other.threadLocal), (self.inline or other.inline), (self.virtual or other.virtual), (self.explicit or other.explicit), (self.constexpr or other.constexpr), (self.volatile or other.volatile), (self.const or other.const), (self.friend or other.friend), (self.attrs + other.attrs))