コード例 #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);
 }
コード例 #2
0
 public ExpressionItemTransform(int offset, int length, ExpressionItemNode target, ExpressionNode transform, ExpressionNode separator)
     : base(offset, length)
 {
     Target = target;
     target.SetParent(this);
     Transform = transform;
     transform.SetParent(this);
     Separator = separator;
     separator?.SetParent(this);
 }
コード例 #3
0
 public ExpressionItem(int offset, int length, ExpressionItemNode expression) : base(offset, length)
 {
     Expression = expression;
     expression.SetParent(this);
 }