private ExpEachItem AnalyEach() { this.ExpContext.Stmt.HasEach = true; StmtCall callStmt = this.ExpContext.Stmt as StmtCall; ExpEach eachExp = new ExpEach(this.ExpContext, this.LeftExp); callStmt.SetEachExp(eachExp); eachExp.Analy(); ExpEachItem itemExp = eachExp.GetItemExp(); return(itemExp); }
public void SetEachExp(ExpEach eachExp) { _eachExp = eachExp; }