Beispiel #1
0
 public virtual void throw_statement(throw_statement ast)
 {
     if (ast.expr != null)
     {
         ast.expr = expression(ast.expr);
     }
 }
Beispiel #2
0
 virtual public void throw_statement(throw_statement ast, int indent)
 {
     //        Write("throw", indent);
     //        if (ast.expr != null) {
     //            Write(" ");
     //            visit(ast.expr);
     //        }
     //        WriteLine(";");
 }
Beispiel #3
0
 virtual public void throw_statement(throw_statement ast, int indent)
 {
     Write("throw", indent);
     if (ast.expr != null)
     {
         Write(" ");
         visit(ast.expr);
     }
     Semicolon(indent);
 }