/// <summary> /// Visit statements and catches. /// </summary> /// <param name="x"></param> virtual public void VisitTryStmt(TryStmt x) { // visit statements VisitStatementList(x.Statements); // visit catch blocks foreach (CatchItem c in x.Catches) VisitElement(c); }
/// <summary> /// Visit statements and catches. /// </summary> /// <param name="x"></param> virtual public void VisitTryStmt(TryStmt x) { // visit statements VisitStatementList(x.Statements); // visit catch blocks foreach (CatchItem c in x.Catches) { VisitElement(c); } }
/// <summary> /// Visit statements and catches. /// </summary> /// <param name="x"></param> virtual public void VisitTryStmt(TryStmt x) { // visit statements VisitStatementList(x.Statements); // visit catch blocks if (x.Catches != null) foreach (CatchItem c in x.Catches) VisitElement(c); // visit finally block VisitElement(x.FinallyItem); }
/// <summary> /// Visit statements and catches. /// </summary> /// <param name="x"></param> virtual public void VisitTryStmt(TryStmt x) { // visit statements VisitStatements(x.Statements); // visit catch blocks if (x.Catches != null) foreach (CatchItem c in x.Catches) VisitElement(c); // visit finally block VisitElement(x.FinallyItem); }