src/Pure/Thy/browser_info.ML
changeset 7684 2e691e52281d
parent 7634 c326808da921
equal deleted inserted replaced
7683:e74f43f1d8a3 7684:2e691e52281d
    13 signature BROWSER_INFO =
    13 signature BROWSER_INFO =
    14 sig
    14 sig
    15   include BASIC_BROWSER_INFO
    15   include BASIC_BROWSER_INFO
    16   val init: bool -> string list -> string -> Url.T option * bool -> unit
    16   val init: bool -> string list -> string -> Url.T option * bool -> unit
    17   val finish: unit -> unit
    17   val finish: unit -> unit
    18   val theory_source: string -> (string, 'a) Source.source -> unit
    18   val theory_source: bool -> string -> (string, string list) Source.source * Position.T -> unit
    19   val begin_theory: string -> string list -> (Path.T * bool) list -> theory -> theory
    19   val begin_theory: string -> string list -> (Path.T * bool) list -> theory -> theory
    20   val end_theory: string -> unit
    20   val end_theory: string -> unit
    21   val result: string -> string -> thm -> unit
    21   val result: string -> string -> thm -> unit
    22   val results: string -> string -> thm list -> unit
    22   val results: string -> string -> thm list -> unit
    23   val theorem: string -> thm -> unit
    23   val theorem: string -> thm -> unit
   302   end);
   302   end);
   303 
   303 
   304 
   304 
   305 (* theory elements *)
   305 (* theory elements *)
   306 
   306 
   307 fun theory_source name src = with_session () (fn _ =>
   307 fun theory_source is_old name (src, _) = with_session () (fn _ =>
   308   (init_theory_info name empty_theory_info; add_source name (HTML.source src)));
   308   (init_theory_info name empty_theory_info; add_source name (HTML.source src)));
   309 
   309 
   310 
   310 
   311 (* FIXME clean *)
   311 (* FIXME clean *)
   312 
   312