private void AddStatement(List<CodeStatement> stmts, CodeStatement stmt)
 {
     var last = stmts.LastOrDefault();
     if (last != null) {
         last.Next = stmt;
         stmt.Previous = last;
     }
     stmts.Add(stmt);
 }
Beispiel #2
0
 private void AddStatment(CodeStatement stmt)
 {
     this.block.Statements.Add(stmt);
 }