Intermediate step, tested with Isabelel 2020 RC4.

This commit is contained in:
Achim D. Brucker 2020-04-04 19:32:23 +01:00
parent 209a19cadb
commit f43673491a
44 changed files with 12 additions and 7 deletions

View File

@ -32,8 +32,13 @@ text\<open>This theory is the main entry point of our formalization of the core
theory Core_DOM theory Core_DOM
imports imports
"$CORE_DOM/Core_DOM_Heap_WF" "Core_DOM_Heap_WF"
begin begin
ML
{*
map warning (Posix.ProcEnv.environ())
*}
end end

View File

@ -31,7 +31,7 @@ section\<open>CharacterData\<close>
text\<open>In this theory, we introduce the types for the CharacterData class.\<close> text\<open>In this theory, we introduce the types for the CharacterData class.\<close>
theory CharacterDataClass theory CharacterDataClass
imports imports
"$CORE_DOM/ElementClass" ElementClass
begin begin
subsubsection\<open>CharacterData\<close> subsubsection\<open>CharacterData\<close>

View File

@ -32,7 +32,7 @@ text\<open>In this theory, we introduce the monadic method setup for the Element
theory ElementMonad theory ElementMonad
imports imports
NodeMonad NodeMonad
"../classes/$CORE_DOM/ElementClass" "ElementClass"
begin begin
type_synonym ('object_ptr, 'node_ptr, 'element_ptr, 'character_data_ptr, 'document_ptr, type_synonym ('object_ptr, 'node_ptr, 'element_ptr, 'character_data_ptr, 'document_ptr,

View File

@ -34,7 +34,7 @@ DOM to what extend they preserve wellformendess.\<close>
theory Core_DOM_Heap_WF theory Core_DOM_Heap_WF
imports imports
"../Core_DOM_Functions" "Core_DOM_Functions"
begin begin
locale l_heap_is_wellformed\<^sub>C\<^sub>o\<^sub>r\<^sub>e\<^sub>_\<^sub>D\<^sub>O\<^sub>M_defs = locale l_heap_is_wellformed\<^sub>C\<^sub>o\<^sub>r\<^sub>e\<^sub>_\<^sub>D\<^sub>O\<^sub>M_defs =

View File

@ -31,8 +31,8 @@ section\<open>Element\<close>
text\<open>In this theory, we introduce the types for the Element class.\<close> text\<open>In this theory, we introduce the types for the Element class.\<close>
theory ElementClass theory ElementClass
imports imports
"../NodeClass" "NodeClass"
"../../pointers/$CORE_DOM/ShadowRootPointer" "ShadowRootPointer"
begin begin
text\<open>The type @{type "DOMString"} is a type synonym for @{type "string"}, define text\<open>The type @{type "DOMString"} is a type synonym for @{type "string"}, define
in \autoref{sec:Core_DOM_Basic_Datatypes}.\<close> in \autoref{sec:Core_DOM_Basic_Datatypes}.\<close>

View File

@ -34,7 +34,7 @@ We only include them here, as they are required for future work and they cannot
following the object-oriented extensibility of our data model.\<close> following the object-oriented extensibility of our data model.\<close>
theory ShadowRootPointer theory ShadowRootPointer
imports imports
"../DocumentPointer" "DocumentPointer"
begin begin
datatype 'shadow_root_ptr shadow_root_ptr = Ref (the_ref: ref) | Ext 'shadow_root_ptr datatype 'shadow_root_ptr shadow_root_ptr = Ref (the_ref: ref) | Ext 'shadow_root_ptr