public void write_oberon_withstmt(oberon_withstmt _oberon_withstmt)
		{
			write_statement(_oberon_withstmt);
			if (_oberon_withstmt.quardstat_list == null)
			{
				bw.Write((byte)0);
			}
			else
			{
				bw.Write((byte)1);
				_oberon_withstmt.quardstat_list.visit(this);
			}
			if (_oberon_withstmt.else_stmt == null)
			{
				bw.Write((byte)0);
			}
			else
			{
				bw.Write((byte)1);
				_oberon_withstmt.else_stmt.visit(this);
			}
		}
		public void visit(oberon_withstmt _oberon_withstmt)
		{
			bw.Write((Int16)154);
			write_oberon_withstmt(_oberon_withstmt);
		}
		public void visit(oberon_withstmt _oberon_withstmt)
		{
			read_oberon_withstmt(_oberon_withstmt);
		}
		public void read_oberon_withstmt(oberon_withstmt _oberon_withstmt)
		{
			read_statement(_oberon_withstmt);
			_oberon_withstmt.quardstat_list = _read_node() as oberon_withstmt_guardstat_list;
			_oberon_withstmt.else_stmt = _read_node() as statement;
		}
Beispiel #5
0
 public void visit(oberon_withstmt _oberon_withstmt)
 {
     throw new NotImplementedException();
 }