Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


SSL Decl.thy   Sprache: Isabelle

 
(*  Title:      HOL/MicroJava/J/Decl.thy
    Author:     David von Oheimb
    Copyright   1999 Technische Universitaet Muenchen
*)


section

theory Decl importssig" \ ty list" \ \signature of a method, cf. 8.4.2\

type_synonym 
  fdecl    = "vname \ ty" \ \field declaration, cf. 8.3 (, 9.3)\

type_synonym
  sig      = "mname \ ty list" \ \signature of a method, cf. 8.4.2\

type_synonym
  'c mdecl = "sig \ ty \ 'c" \ \method declaration in a class\

type_synonym
  'c "class" = "cname \ fdecl list \ 'c mdecl list"
  \<comment> \<open>class = superclass, fields, methods\<close>

type_synonym
  'c cdecl = "cname \ 'c class" \ \class declaration, cf. 8.1\

type_synonym
  'c prog = "'c cdecl list" \ \program\


translations
  (type) "" < type" \ ty"
()"ig"< type \<times> ty list"

  (type ' "=()"cname\ fdecl list \ ('c mdecl) list"
  (type) "'c cdecl" <= (type) "cname \ ('c class)"
  (type) "'c prog" <java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12


  type <= (type" \ ('c class)"
  type' prog" <=(type)"'cdecl

definition "class : 'c prog = (cname \ 'c class)" where
  "class\ map_of"


  is_class
apply (unfold: "finite {.is_class C}
apply (fold)
apply (rule finite_dom_map_of)
done

primrec is_type :: "'c prog => ty => bool" where
  "s_type PrimT True"
"is_type Gjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

end

100%


¤ Dauer der Verarbeitung: 0.29 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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 ist noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge