def METHOD_NAME(level):
    namespace = []
    struct = ''
    for i in level:
        if 'namespace' in i:
            d = re.findall('namespace [a-zA-Z_]+', i)
            n = d[0].split(' ')[1]
            namespace += [n]
        if 'struct' in i:
            d = re.findall('struct [a-zA-Z_]+', i)
            n = d[0].split(' ')[1]
            struct = n
    return namespace, struct