Example #1
0
 public PrintStmt(Exp exp)
 {
     mExp = exp;
 }
Example #2
0
 public IfStmt(Exp exp, IStmt thenS)
 {
     mExp   = exp;
     mThenS = thenS;
     mElseS = new SkipStmt();
 }
Example #3
0
 public AssignStmt(string id, Exp exp)
 {
     mId  = id;
     mExp = exp;
 }
Example #4
0
 public IfStmt(Exp exp, IStmt thenS, IStmt elseS)
 {
     mExp   = exp;
     mThenS = thenS;
     mElseS = elseS;
 }