src/Pure/PIDE/isabelle_markup.ML
changeset 46122 1e9ec1a44dfc
parent 46121 30a69cd8a9a0
child 46123 aa5c367ee579
equal deleted inserted replaced
46121:30a69cd8a9a0 46122:1e9ec1a44dfc
    79   val malformedN: string val malformed: Markup.T
    79   val malformedN: string val malformed: Markup.T
    80   val tokenN: string val token: Properties.T -> Markup.T
    80   val tokenN: string val token: Properties.T -> Markup.T
    81   val command_spanN: string val command_span: string -> Markup.T
    81   val command_spanN: string val command_span: string -> Markup.T
    82   val ignored_spanN: string val ignored_span: Markup.T
    82   val ignored_spanN: string val ignored_span: Markup.T
    83   val malformed_spanN: string val malformed_span: Markup.T
    83   val malformed_spanN: string val malformed_span: Markup.T
    84   val loaded_theoryN: string val loaded_theory: string -> Markup.T
       
    85   val elapsedN: string
    84   val elapsedN: string
    86   val cpuN: string
    85   val cpuN: string
    87   val gcN: string
    86   val gcN: string
    88   val timingN: string val timing: Timing.timing -> Markup.T
    87   val timingN: string val timing: Timing.timing -> Markup.T
    89   val subgoalsN: string
    88   val subgoalsN: string
   103   val reportN: string val report: Markup.T
   102   val reportN: string val report: Markup.T
   104   val no_reportN: string val no_report: Markup.T
   103   val no_reportN: string val no_report: Markup.T
   105   val badN: string val bad: Markup.T
   104   val badN: string val bad: Markup.T
   106   val functionN: string
   105   val functionN: string
   107   val ready: Properties.T
   106   val ready: Properties.T
       
   107   val loaded_theory: string -> Properties.T
   108   val assign_execs: Properties.T
   108   val assign_execs: Properties.T
   109   val removed_versions: Properties.T
   109   val removed_versions: Properties.T
   110   val invoke_scala: string -> string -> Properties.T
   110   val invoke_scala: string -> string -> Properties.T
   111   val cancel_scala: string -> Properties.T
   111   val cancel_scala: string -> Properties.T
   112 end;
   112 end;
   258 val (command_spanN, command_span) = markup_string "command_span" Markup.nameN;
   258 val (command_spanN, command_span) = markup_string "command_span" Markup.nameN;
   259 val (ignored_spanN, ignored_span) = markup_elem "ignored_span";
   259 val (ignored_spanN, ignored_span) = markup_elem "ignored_span";
   260 val (malformed_spanN, malformed_span) = markup_elem "malformed_span";
   260 val (malformed_spanN, malformed_span) = markup_elem "malformed_span";
   261 
   261 
   262 
   262 
   263 (* theory loader *)
       
   264 
       
   265 val (loaded_theoryN, loaded_theory) = markup_string "loaded_theory" Markup.nameN;
       
   266 
       
   267 
       
   268 (* timing *)
   263 (* timing *)
   269 
   264 
   270 val timingN = "timing";
   265 val timingN = "timing";
   271 val elapsedN = "elapsed";
   266 val elapsedN = "elapsed";
   272 val cpuN = "cpu";
   267 val cpuN = "cpu";
   318 
   313 
   319 val functionN = "function"
   314 val functionN = "function"
   320 
   315 
   321 val ready = [(functionN, "ready")];
   316 val ready = [(functionN, "ready")];
   322 
   317 
       
   318 fun loaded_theory name = [(functionN, "loaded_theory"), (Markup.nameN, name)];
       
   319 
   323 val assign_execs = [(functionN, "assign_execs")];
   320 val assign_execs = [(functionN, "assign_execs")];
   324 val removed_versions = [(functionN, "removed_versions")];
   321 val removed_versions = [(functionN, "removed_versions")];
   325 
   322 
   326 fun invoke_scala name id = [(functionN, "invoke_scala"), (Markup.nameN, name), (idN, id)];
   323 fun invoke_scala name id = [(functionN, "invoke_scala"), (Markup.nameN, name), (idN, id)];
   327 fun cancel_scala id = [(functionN, "cancel_scala"), (idN, id)];
   324 fun cancel_scala id = [(functionN, "cancel_scala"), (idN, id)];