Exemple #1
0
 public Unary(Token tok, Expr x)
     : base(tok, VarType.Max(VarType.INT, x.Type))
 {
     _expr = x;
 }
Exemple #2
0
 public Arith(Token tok, Expr x1, Expr x2)
     : base(tok, VarType.Max(x1.Type, x2.Type))
 {
     Expr1 = x1;
     Expr2 = x2;
 }