Example #1
0
            public static ArithmeticExpression Calculate(CalculateExpression left, OpFlag op, CalculateExpression right)
            {
                var e = new ArithmeticExpression();
                e.op = op;
                e.Left = left;
                e.Right = right;

                left.Parent = e;
                left.childPos = childLeft;
                right.Parent = e;
                right.childPos = childRight;

                return e;
            }
Example #2
0
 public SingleByteOpRec(Opcode op, string fmt, OpFlag flags)
 {
     opcode = op;
     format = fmt;
     Flags  = flags;
 }