【24h】

On the Implementation of @pre

机译:关于@pre的实施

获取原文

摘要

The paradigm of design by contract provides a transparent way of specifying object-oriented systems. There exist a number of languages for contractual specification including OCL, JML and Spec#. Nevertheless, there are still a number of research problems concerning this approach. One of them is the implementation of primitive @pre in OCL or equivalently old in JML. Those primitives are used in post-conditions to refer to attribute values in states preceding an operation execution. There are a number of implementations of this operators, but all suffer logical and computational problems. In this paper, existing approaches to the implementation of @pre are discussed and a new solution is proposed.
机译:合同设计的范例提供了指定面向对象系统的透明方式。存在许多合同规范语言,包括OCL,JML和SPEG#。然而,仍有一些关于这种方法的研究问题。其中一个是在OCL中实现原始@pre或同等地旧的JML。这些基元用于后条件,以在操作执行之前的状态中引用属性值。该运算符有许多实现,但都遭受逻辑和计算问题。在本文中,讨论了@PRE实现的现有方法,提出了一种新的解决方案。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号