signature THY_HEADER = sig type keywords = ((string * Position.T) * Keyword.spec) list type header =
{name: string * Position.T,
imports: (string * Position.T) list,
keywords: keywords} val make: string * Position.T -> (string * Position.T) list -> keywords -> header val theoryN: string val bootstrap_keywords: Keyword.keywords val add_keywords: keywords -> theory -> theory val get_keywords: theory -> Keyword.keywords val get_keywords': Proof.context -> Keyword.keywords val print_name: theory -> string -> string val print_name': Proof.context -> string -> string val pretty_name: theory -> string -> Pretty.T val pretty_name': Proof.context -> string -> Pretty.T
val ml_bootstrapN: string val ml_roots: stringlist val bootstrap_thys: stringlist val is_base_name: string -> bool val import_name: string -> string val args: header parser val read_tokens: Position.T -> Token.T list -> header val read: Position.T -> string -> header end;
structure Thy_Header: THY_HEADER = struct
(** keyword declarations **)
(* header *)
type keywords = ((string * Position.T) * Keyword.spec) list;
fun make name imports keywords : header =
{name = name, imports = imports, keywords = keywords};
(* bootstrap keywords *)
val chapterN = "chapter"; val sectionN = "section"; val subsectionN = "subsection"; val subsubsectionN = "subsubsection"; val paragraphN = "paragraph"; val subparagraphN = "subparagraph"; val textN = "text"; val txtN = "txt"; val text_rawN = "text_raw";
val theoryN = "theory"; val importsN = "imports"; val keywordsN = "keywords"; val abbrevsN = "abbrevs"; val beginN = "begin";
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.