@Override
    public Node toNode() {
        ArrayNode.Builder builder = ArrayNode.builder();
        for (Expression argument : arguments) {
            builder.withValue(argument.toNode());
        }

        return ObjectNode.builder()
                .withMember(FN, name)
                .withMember(ARGV, builder.build())
                .build();
    }
Returns a new builder instance for this {@link FunctionNode}.

@return the new builder instance.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/syntax/expressions/functions/FunctionNode.java