Пример #1
0
 public NumberExpression(Num num)
 {
     Num = num;
     AddAttribute(new NumAttr(num));
 }
Пример #2
0
 public NumAttr(Num num)
 {
     Num = num;
 }
Пример #3
0
 public ArrayDeclaration(Terminal type, Id id, Num size)
     : base(type, id)
 {
     Size = size;
     AddAttribute(new NumAttr(size));
 }
Пример #4
0
 public override Symbol GetCopy(string str)
 {
     var num = new Num();
     num.SetValue(str);
     return num;
 }