public void visit(oberon_withstmt_guardstat_list _oberon_withstmt_guardstat_list)
		{
			bw.Write((Int16)153);
			write_oberon_withstmt_guardstat_list(_oberon_withstmt_guardstat_list);
		}
		public void write_oberon_withstmt_guardstat_list(oberon_withstmt_guardstat_list _oberon_withstmt_guardstat_list)
		{
			write_syntax_tree_node(_oberon_withstmt_guardstat_list);
			if (_oberon_withstmt_guardstat_list.guardstats == null)
			{
				bw.Write((byte)0);
			}
			else
			{
				bw.Write((byte)1);
				bw.Write(_oberon_withstmt_guardstat_list.guardstats.Count);
				for(Int32 ssyy_i = 0; ssyy_i < _oberon_withstmt_guardstat_list.guardstats.Count; ssyy_i++)
				{
					if (_oberon_withstmt_guardstat_list.guardstats[ssyy_i] == null)
					{
						bw.Write((byte)0);
					}
					else
					{
						bw.Write((byte)1);
						_oberon_withstmt_guardstat_list.guardstats[ssyy_i].visit(this);
					}
				}
			}
		}
		public void read_oberon_withstmt_guardstat_list(oberon_withstmt_guardstat_list _oberon_withstmt_guardstat_list)
		{
			read_syntax_tree_node(_oberon_withstmt_guardstat_list);
			if (br.ReadByte() == 0)
			{
				_oberon_withstmt_guardstat_list.guardstats = null;
			}
			else
			{
				_oberon_withstmt_guardstat_list.guardstats = new List<oberon_withstmt_guardstat>();
				Int32 ssyy_count = br.ReadInt32();
				for(Int32 ssyy_i = 0; ssyy_i < ssyy_count; ssyy_i++)
				{
					_oberon_withstmt_guardstat_list.guardstats.Add(_read_node() as oberon_withstmt_guardstat);
				}
			}
		}
		public void visit(oberon_withstmt_guardstat_list _oberon_withstmt_guardstat_list)
		{
			read_oberon_withstmt_guardstat_list(_oberon_withstmt_guardstat_list);
		}
Esempio n. 5
0
		///<summary>
		///Конструктор с параметрами.
		///</summary>
		public oberon_withstmt(oberon_withstmt_guardstat_list _quardstat_list,statement _else_stmt,SourceContext sc)
		{
			this._quardstat_list=_quardstat_list;
			this._else_stmt=_else_stmt;
			source_context = sc;
		}
Esempio n. 6
0
		///<summary>
		///Конструктор с параметрами.
		///</summary>
		public oberon_withstmt(oberon_withstmt_guardstat_list _quardstat_list,statement _else_stmt)
		{
			this._quardstat_list=_quardstat_list;
			this._else_stmt=_else_stmt;
		}
Esempio n. 7
0
 public void visit(oberon_withstmt_guardstat_list _oberon_withstmt_guardstat_list)
 {
     throw new NotImplementedException();
 }