瀏覽代碼

Further constrain types of conformance operations

Yentl Van Tendeloo 9 年之前
父節點
當前提交
a2d1291d36
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      interface/HUTN/includes/conformance_scd.alh

+ 5 - 5
interface/HUTN/includes/conformance_scd.alh

@@ -1,8 +1,8 @@
-Element function is_direct_instance(a: Element, b: Element, c: Element)
-Element function is_nominal_instance(a: Element, b: Element, c: Element)
-Element function is_nominal_subtype(a: Element, b: Element, c: Element, d: Element)
-Element function is_structural_subtype(a: Element, b: Element)
-Element function is_structural_instance(a: Element, b: Element, c: Element)
+Boolean function is_direct_instance(a: Element, b: Element, c: Element)
+Boolean function is_nominal_instance(a: Element, b: Element, c: Element)
+Boolean function is_nominal_subtype(a: Element, b: Element, c: Element, d: Element)
+Boolean function is_structural_subtype(a: Element, b: Element)
+Boolean function is_structural_instance(a: Element, b: Element, c: Element)
 Element function conformance_scd(a: Element)
 Element function retype(a: Element, b: Element, c: Element, d: Element)
 Element function add_to_model(a: Element, b: String, c: Element)