def METHOD_NAME(route_decorator: ast.Call, route_args_dict):
    """Parses an @api.route()'s first arg to get the route arguments"""
    can_check_route_args = False
    # First arg of the route decorator is the route
    if len(route_decorator.args) > 0 and isinstance(
        route_decorator.args[0], ast.Constant
    ):
        # Found a route that has a string constant, so we can parse it
        can_check_route_args = True
        route = route_decorator.args[0].value
        route_args_list = route_parser_regex.findall(route)
        for route_arg in route_args_list:
            if route_arg not in route_args_dict:
                route_args_dict[route_arg] = {
                    "locations": [],
                    "seen": False,
                }
            route_args_dict[route_arg]["locations"].append(
                (route_decorator.lineno, route_decorator.col_offset)
            )
    return can_check_route_args