public static FunctionCallExpression Call(FunctionCallExpression callChain, params XzaarExpression[] arguments)
        {
            //if (method == null) throw new ArgumentNullException(nameof(method));
            // method can be null, if type is "any" since this will be a runtime error instead.

            ReadOnlyCollection <XzaarExpression> argList = new ReadOnlyCollection <XzaarExpression>(arguments);

            return(new FunctionCallExpressionN(callChain, argList));
        }
 internal FunctionCallExpression(FunctionCallExpression callChain, IList <XzaarExpression> args = null)
 {
     arguments = args ?? new List <XzaarExpression>();
     this.previousInvocation = callChain;
 }
 public FunctionCallExpressionN(FunctionCallExpression callChain, IList <XzaarExpression> args)
     : base(callChain, args)
 {
     arguments = args;
 }