public void Visit(Ast.Stmt.Seq s) { // Seqs introduce scope foreach (var v in s.Item.Body) { Visit(v); } }
public void Visit(Ast.Stmt.Seq s) { // Seqs introduce scope this.m_symbolTable.PushNewScope(); foreach (var v in s.Item.Body) { Visit(v); } this.m_symbolTable.PopScope(); }