소스 검색

Further constrain types of conformance operations

Yentl Van Tendeloo 9 년 전
부모
커밋
94748e49a7
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)