src/Pure/Isar/isar_syn.ML
changeset 60273 83de10e27007
parent 60189 0d3a62127057
child 60371 8a5cfdda1b98
equal deleted inserted replaced
60272:4f72b00d9952 60273:83de10e27007
   792     (Scan.succeed
   792     (Scan.succeed
   793       (Toplevel.keep (Toplevel.theory_of #> (fn thy =>
   793       (Toplevel.keep (Toplevel.theory_of #> (fn thy =>
   794         Locale.pretty_locale_deps thy
   794         Locale.pretty_locale_deps thy
   795         |> map (fn {name, parents, body} =>
   795         |> map (fn {name, parents, body} =>
   796           ((name, Graph_Display.content_node (Locale.extern thy name) [body]), parents))
   796           ((name, Graph_Display.content_node (Locale.extern thy name) [body]), parents))
   797         |> Graph_Display.display_graph))));
   797         |> Graph_Display.display_graph_old))));
   798 
   798 
   799 val _ =
   799 val _ =
   800   Outer_Syntax.command @{command_keyword print_term_bindings}
   800   Outer_Syntax.command @{command_keyword print_term_bindings}
   801     "print term bindings of proof context"
   801     "print term bindings of proof context"
   802     (Scan.succeed
   802     (Scan.succeed