forked from afp-mirror/Core_DOM
Intermediate step, tested with Isabelel 2020 RC4.
This commit is contained in:
parent
209a19cadb
commit
f43673491a
|
@ -32,8 +32,13 @@ text\<open>This theory is the main entry point of our formalization of the core
|
|||
|
||||
theory Core_DOM
|
||||
imports
|
||||
"$CORE_DOM/Core_DOM_Heap_WF"
|
||||
"Core_DOM_Heap_WF"
|
||||
begin
|
||||
|
||||
ML
|
||||
{*
|
||||
map warning (Posix.ProcEnv.environ())
|
||||
*}
|
||||
|
||||
|
||||
end
|
|
@ -31,7 +31,7 @@ section\<open>CharacterData\<close>
|
|||
text\<open>In this theory, we introduce the types for the CharacterData class.\<close>
|
||||
theory CharacterDataClass
|
||||
imports
|
||||
"$CORE_DOM/ElementClass"
|
||||
ElementClass
|
||||
begin
|
||||
|
||||
subsubsection\<open>CharacterData\<close>
|
|
@ -32,7 +32,7 @@ text\<open>In this theory, we introduce the monadic method setup for the Element
|
|||
theory ElementMonad
|
||||
imports
|
||||
NodeMonad
|
||||
"../classes/$CORE_DOM/ElementClass"
|
||||
"ElementClass"
|
||||
begin
|
||||
|
||||
type_synonym ('object_ptr, 'node_ptr, 'element_ptr, 'character_data_ptr, 'document_ptr,
|
|
@ -34,7 +34,7 @@ DOM to what extend they preserve wellformendess.\<close>
|
|||
|
||||
theory Core_DOM_Heap_WF
|
||||
imports
|
||||
"../Core_DOM_Functions"
|
||||
"Core_DOM_Functions"
|
||||
begin
|
||||
|
||||
locale l_heap_is_wellformed\<^sub>C\<^sub>o\<^sub>r\<^sub>e\<^sub>_\<^sub>D\<^sub>O\<^sub>M_defs =
|
||||
|
|
|
@ -31,8 +31,8 @@ section\<open>Element\<close>
|
|||
text\<open>In this theory, we introduce the types for the Element class.\<close>
|
||||
theory ElementClass
|
||||
imports
|
||||
"../NodeClass"
|
||||
"../../pointers/$CORE_DOM/ShadowRootPointer"
|
||||
"NodeClass"
|
||||
"ShadowRootPointer"
|
||||
begin
|
||||
text\<open>The type @{type "DOMString"} is a type synonym for @{type "string"}, define
|
||||
in \autoref{sec:Core_DOM_Basic_Datatypes}.\<close>
|
|
@ -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>
|
||||
theory ShadowRootPointer
|
||||
imports
|
||||
"../DocumentPointer"
|
||||
"DocumentPointer"
|
||||
begin
|
||||
|
||||
datatype 'shadow_root_ptr shadow_root_ptr = Ref (the_ref: ref) | Ext 'shadow_root_ptr
|
Reference in New Issue