def METHOD_NAME(node):
    l = list()
    for c in node.get_children():
        # no node or no location
        if c is None or c.location is None or c.location.file is None:
            continue
        # not the main source file
        if c.location.file.name != sys.argv[1]:
            continue
        if c.kind in TOP_NODE_TYPES:
            # struct found
            l.append(c)
    return l