Пример #1
0
		public void visit(subprogram_body _subprogram_body)
		{
			bw.Write((Int16)12);
			write_subprogram_body(_subprogram_body);
		}
Пример #2
0
		public void write_subprogram_body(subprogram_body _subprogram_body)
		{
			write_syntax_tree_node(_subprogram_body);
			if (_subprogram_body.subprogram_code == null)
			{
				bw.Write((byte)0);
			}
			else
			{
				bw.Write((byte)1);
				_subprogram_body.subprogram_code.visit(this);
			}
			if (_subprogram_body.subprogram_defs == null)
			{
				bw.Write((byte)0);
			}
			else
			{
				bw.Write((byte)1);
				_subprogram_body.subprogram_defs.visit(this);
			}
		}
Пример #3
0
 public override void visit(subprogram_body _subprogram_body)
 {
     throw new Exception("The method or operation is not implemented.");
 }
Пример #4
0
 public override void visit(subprogram_body _subprogram_body)
 {
     if (_subprogram_body.subprogram_defs != null)
         _subprogram_body.subprogram_defs.visit(this);
     if (_subprogram_body.subprogram_code != null)
         _subprogram_body.subprogram_code.visit(this);
 }
Пример #5
0
		public override void visit(subprogram_body _subprogram_body)
		{
			throw new NotImplementedException();
		}
		public void read_subprogram_body(subprogram_body _subprogram_body)
		{
			read_syntax_tree_node(_subprogram_body);
			_subprogram_body.subprogram_code = _read_node() as statement_list;
			_subprogram_body.subprogram_defs = _read_node() as declarations;
		}
		public void visit(subprogram_body _subprogram_body)
		{
			read_subprogram_body(_subprogram_body);
		}
Пример #8
0
		public override void visit(subprogram_body _subprogram_body)
		{
			prepare_node(_subprogram_body.subprogram_defs,"subprogram_defs");
			prepare_node(_subprogram_body.subprogram_code,"subprogram_code");
		}
Пример #9
0
		public override void visit(subprogram_body _subprogram_body)
		{
			
		}