public void write_on_exception(on_exception _on_exception)
		{
			write_syntax_tree_node(_on_exception);
			if (_on_exception.exception_var_name == null)
			{
				bw.Write((byte)0);
			}
			else
			{
				bw.Write((byte)1);
				_on_exception.exception_var_name.visit(this);
			}
			if (_on_exception.exception_type_name == null)
			{
				bw.Write((byte)0);
			}
			else
			{
				bw.Write((byte)1);
				_on_exception.exception_type_name.visit(this);
			}
			if (_on_exception.stat == null)
			{
				bw.Write((byte)0);
			}
			else
			{
				bw.Write((byte)1);
				_on_exception.stat.visit(this);
			}
		}
		public void read_on_exception(on_exception _on_exception)
		{
			read_syntax_tree_node(_on_exception);
			_on_exception.exception_var_name = _read_node() as ident;
			_on_exception.exception_type_name = _read_node() as ident;
			_on_exception.stat = _read_node() as statement;
		}
		public void visit(on_exception _on_exception)
		{
			bw.Write((Int16)84);
			write_on_exception(_on_exception);
		}
		public void visit(on_exception _on_exception)
		{
			read_on_exception(_on_exception);
		}
Exemple #5
0
		public on_exception_list Add(on_exception _on_exception, SourceContext sc)
		{
		    on_exceptions.Add(_on_exception);
		    source_context = sc;
		    return this;
		}
Exemple #6
0
		public on_exception_list Add(on_exception _on_exception)
		{
		    on_exceptions.Add(_on_exception);
		    return this;
		}
Exemple #7
0
		public on_exception_list(on_exception _on_exception, SourceContext sc)
		{
		    Add(_on_exception,sc);
		}
 public void visit(on_exception _on_exception)
 {
     throw new NotImplementedException();
 }