Exemplo n.º 1
0
 virtual public void catch_clauses(catch_clauses ast, int indent)
 {
     //        foreach (catch_clause c in ast.specifics)
     //            visit(c, indent);
     //        if (ast.general != null) {
     //            WriteLine("catch", indent);
     //            visit(ast.general, indent + 1);
     //        }
 }
Exemplo n.º 2
0
 public virtual void catch_clauses(catch_clauses ast)
 {
     if (ast.general != null)
     {
         statement(ast.general);
     }
     foreach (catch_clause x in ast.specifics)
     {
         catch_clause(x);
     }
 }
Exemplo n.º 3
0
 virtual public void catch_clauses(catch_clauses ast, int indent)
 {
     foreach (catch_clause c in ast.specifics)
     {
         visit(c, indent);
     }
     if (ast.general != null)
     {
         WriteLine("catch", indent);
         visit(ast.general, indent + 1);
     }
 }