public static FunctionNode ofExpressions(
            String functionName,
            FromSourceLocation sourceLocation,
            ToExpression... arguments
    ) {
        return builder()
                .sourceLocation(sourceLocation)
                .name(StringNode.from(functionName))
                .arguments(Arrays.asList(arguments))
                .build();
    }
Constructs a {@link FunctionNode} for the given function name and arguments.

@param functionName the function name.
@param sourceLocation the source location for the function.
@param arguments zero or more expressions as arguments to the function.
@return the {@link FunctionNode}.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/syntax/expressions/functions/FunctionNode.java