def writeExtensionsForVersions(map):
    result = []
    for version in map:
        result.append((('\tif (coreVersion >= ' + str(version)) + ')'))
        result.append('\t{')
        for extension in map[version]:
            result.append((('\t\tdst.push_back("' + extension.name) + '");'))
        result.append('\t}')
    return result
def writeExtensionsForVersions(map):
    result = []
    for version in map:
        result.append((('\tif (coreVersion >= ' + str(version)) + ')'))
        result.append('\t{')
        for extension in map[version]:
            result.append((('\t\tdst.push_back("' + extension.name) + '");'))
        result.append('\t}')
    return result