@staticmethod
def close_ns(symbol):
    """generates a closing names statement from a symbol"""
    closing = ' '.join(['}' for x in symbol.module.name_parts])
    name = '::'.join(symbol.module.name_parts)
    return '{0} // namespace {1}'.format(closing, name)
