Exemplo n.º 1
0
        public 运算符(string op, int 优先级, int iLeft, int iRight)
        {
            this.op     = op;
            this.优先级    = 优先级;
            this.iLeft  = iLeft;
            this.iRight = iRight;

            this.type = 运算符_Type.普通;
        }
Exemplo n.º 2
0
 public 运算符(string op, 运算符_Type type, int 优先级, string castType, int iLeft, int iRight)
 {
     this.op   = op;
     this.type = type;
     //this.isCast = isCast;
     //this.is_指针取值 = is_指针取值;
     //this.is_取地址 = is_取地址;
     this.优先级      = 优先级;
     this.castType = castType;
     this.iLeft    = iLeft;
     this.iRight   = iRight;
 }