(defmethod set-type* ((te type-name) expected)
(declare (ignore expected))
(assert (resolution te))
(when (and (or (actuals te) (dactuals te))
(not (or (actuals (module-instance te))
(dactuals (module-instance te)))))
(if (same-id (module-instance te) (current-theory))
(type-error te "May not provide actuals for entities defined locally")
(type-error te "May not specify actuals for this type name"))) ; (unless (or (same-id (module-instance te) (current-theory)) ; (from-prelude? (get-theory (module-instance te)))) ; (pushnew (module-instance te) ; (instances-used (current-theory)) ; :test #'tc-eq))
(when (or (actuals (module-instance te))
(dactuals (module-instance te)))
(setf (module-instance (resolution te))
(set-type-actuals-and-maps te (module (declaration (resolution te))))))
#+pvsdebug (fully-typed? te)
(when (and (typep (type (resolution te)) 'type-name)
(adt (type (resolution te))))
(unless (and (boundp '*adt-type-name-pending*)
(memq te (assq (id te) *adt-type-name-pending*)))
(let ((adt (adt (type (resolution te)))))
(change-class te 'adt-type-name
:adt adt
:single-constructor? (singleton? (constructors adt))))))
(unless (or *dont-worry-about-full-instantiations*
(fully-instantiated? te))
(maybe-instantiate-from-decl-formals te)
(unless (fully-instantiated? te)
(type-error te "Could not determine the full theory instance for ~a~
~% Theory instance: ~a"
te (full-name (module-instance te))))))
(defmethod constructors ((tn type-name))
(when (adt? tn)
(when (symbolp (adt tn)) ;; May happen after restoring from bin files
(restore-adt-slot tn))
(mapcar #'(lambda (cd)
(mk-name-expr (id cd) nilnil
(make-resolution cd (module-instance tn))))
(mapcar #'con-decl (constructors (adt tn))))))
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.0Bemerkung:
(vorverarbeitet am 2026-06-14)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.