Пример #1
0
 public OpInfo(string op, OpArity arity, int priority, OpAssoc assoc)
 {
     this.op       = op;
     this.arity    = arity;
     this.priority = priority;
     this.assoc    = assoc;
 }
Пример #2
0
 private static void AddOpArity(string name, int arity, Dictionary<string, OpArity> current)
 {
     current[name] = new OpArity(name, arity);
 }
Пример #3
0
 public ArityAttribute(OpArity Arity)
 => this.Arity = Arity;
Пример #4
0
 private static void AddOpArity(string name, int arity, Dictionary <string, OpArity> current)
 {
     current[name] = new OpArity(name, arity);
 }