public UnionOperatorAttribute(OperandTypeHandling operandTypeHandling, params Op[] operators) { this.OperandTypeHandling = operandTypeHandling; foreach (var op in operators) { this.Operators.Add(op); } }
public UnionOperatorAttribute(Op operator1, params Op[] operators) { this.OperandTypeHandling = OperandTypeHandling.Implicit; this.Operators.Add(operator1); foreach (var op in operators) { this.Operators.Add(op); } }
public Operator(Op value, OperandTypeHandling typeHandling) { this.Value = value; this.OperandTypeHandling = typeHandling; }