Example #1
0
 public Min(Exp left, Exp right)
     : base(left, right)
 {
 }
Example #2
0
 public Minus(Exp operand)
     : base(operand)
 {
 }
Example #3
0
 public void AddValue(Exp value)
 {
     _values.Add(value);
 }
Example #4
0
 protected UnaryOperator(Exp operand)
 {
     Operand = operand;
 }
Example #5
0
 public Product(Exp left, Exp right)
     : base(left, right)
 {
 }
Example #6
0
 public Return(Exp retExp = null)
 {
     ReturnExp = retExp;
 }
Example #7
0
 public EvalExp(Exp exp)
 {
     Exp = exp;
 }
Example #8
0
 public Power(Exp left, Exp right)
     : base(left, right)
 {
 }
Example #9
0
 public Division(Exp left, Exp right)
     : base(left, right)
 {
 }
Example #10
0
 public Dot(Exp left, string right)
 {
     Left = left;
     Right = right;
 }
Example #11
0
 protected BinaryOp(Exp left, Exp right)
 {
     Left = left;
     _right = right;
 }
Example #12
0
 public Assignment(string varName, Exp exp, Exp loadExp)
 {
     VarName = varName;
     Exp = exp;
     LoadExp = loadExp;
 }
Example #13
0
 public While(Exp guard, Stmt body)
 {
     Guard = guard;
     Body = body;
 }
Example #14
0
 public Not(Exp operand)
     : base(operand)
 {
 }
Example #15
0
 public Factorial(Exp operand)
     : base(operand)
 {
 }
Example #16
0
 public Or(Exp left, Exp right)
     : base(left, right)
 {
 }
Example #17
0
 public void AddArgument(Exp arg)
 {
     _args.Add(arg);
 }
Example #18
0
 public Print(Exp exp)
 {
     _exp = exp;
 }
Example #19
0
 public If(Exp guard, Stmt body)
 {
     Guard = guard;
     Body = body;
 }
Example #20
0
 public Remainder(Exp left, Exp right)
     : base(left, right)
 {
 }
Example #21
0
 public LessEqual(Exp left, Exp right)
     : base(left, right)
 {
 }
Example #22
0
 public And(Exp left, Exp right)
     : base(left, right)
 {
 }
Example #23
0
 public LessThan(Exp left, Exp right)
     : base(left, right)
 {
 }
Example #24
0
 public Subtraction(Exp left, Exp right)
     : base(left, right)
 {
 }
Example #25
0
 public Sum(Exp left, Exp right)
     : base(left, right)
 {
 }