Example #1
0
 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);
 }
Example #2
0
 public ExpressionPropertyFunctionInvocation(int offset, int length, ExpressionPropertyNode target, ExpressionFunctionName function, ExpressionArgumentList arguments)
     : base(offset, length)
 {
     Target = target;
     target?.SetParent(this);
     Function = function;
     function?.SetParent(this);
     Arguments = arguments;
     arguments?.SetParent(this);
 }