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