Ejemplo n.º 1
0
		public void visit(try_handler _try_handler)
		{
			bw.Write((Int16)133);
			write_try_handler(_try_handler);
		}
Ejemplo n.º 2
0
		public void write_try_handler(try_handler _try_handler)
		{
			write_syntax_tree_node(_try_handler);
		}
Ejemplo n.º 3
0
		///<summary>
		///Конструктор с параметрами.
		///</summary>
		public try_stmt(statement_list _stmt_list,try_handler _handler)
		{
			this._stmt_list=_stmt_list;
			this._handler=_handler;
		}
Ejemplo n.º 4
0
		///<summary>
		///Конструктор с параметрами.
		///</summary>
		public try_stmt(statement_list _stmt_list,try_handler _handler,SourceContext sc)
		{
			this._stmt_list=_stmt_list;
			this._handler=_handler;
			source_context = sc;
		}
Ejemplo n.º 5
0
        public override void visit(try_handler _try_handler)
        {

        }
Ejemplo n.º 6
0
		public override void visit(try_handler _try_handler)
		{
			throw new NotImplementedException();
		}
		public void read_try_handler(try_handler _try_handler)
		{
			read_syntax_tree_node(_try_handler);
		}
		public void visit(try_handler _try_handler)
		{
			read_try_handler(_try_handler);
		}
Ejemplo n.º 9
0
 public void CompareInternal(try_handler left, try_handler right)
 {
     if (left == null && right != null || left != null && right == null)
         throw_not_equal(left, right);
     if (left != null && right != null)
     {
         if (left.GetType() != right.GetType())
             throw_not_equal(left, right);
         if (left is try_handler_except)
             CompareInternal(left as try_handler_except, right as try_handler_except);
         else if (left is try_handler_finally)
             CompareInternal(left as try_handler_finally, right as try_handler_finally);
     }
 }