public ExpressionItemFunctionInvocation(int offset, int length, ExpressionItemNode target, ExpressionFunctionName methodName, ExpressionArgumentList arguments) : base(offset, length) { Target = target; target.SetParent(this); Function = methodName; methodName?.SetParent(this); Arguments = arguments; arguments?.SetParent(this); }
public ExpressionPropertyFunctionInvocation(int offset, int length, ExpressionNode target, ExpressionFunctionName function, ExpressionNode arguments) : base(offset, length) { Target = target; target?.SetParent(this); Function = function; function?.SetParent(this); Arguments = arguments; arguments?.SetParent(this); }