def arg_list_from_node(n):
    args = []
    if isinstance(n, FunctionNode):
        args = list(n.args.arguments)
        if (n.func_name in BUILD_TARGET_FUNCTIONS):
            args.pop(0)
    elif isinstance(n, ArrayNode):
        args = n.args.arguments
    elif isinstance(n, ArgumentNode):
        args = n.arguments
    return args
def arg_list_from_node(n):
    args = []
    if isinstance(n, FunctionNode):
        args = list(n.args.arguments)
        if (n.func_name in BUILD_TARGET_FUNCTIONS):
            args.pop(0)
    elif isinstance(n, ArrayNode):
        args = n.args.arguments
    elif isinstance(n, ArgumentNode):
        args = n.arguments
    return args