src/Doc/more_antiquote.ML
changeset 67469 008725a1ed52
parent 67463 a5ca98950a91
child 67505 ceb324e34c14
equal deleted inserted replaced
67468:aa8c25c528c0 67469:008725a1ed52
     8 struct
     8 struct
     9 
     9 
    10 (* class specifications *)
    10 (* class specifications *)
    11 
    11 
    12 val _ =
    12 val _ =
    13   Theory.setup (Thy_Output.antiquotation @{binding class_spec} (Scan.lift Args.name)
    13   Theory.setup (Thy_Output.antiquotation_pretty @{binding class_spec} (Scan.lift Args.name)
    14     (fn ctxt => fn s =>
    14     (fn ctxt => fn s =>
    15       let
    15       let
    16         val thy = Proof_Context.theory_of ctxt;
    16         val thy = Proof_Context.theory_of ctxt;
    17         val class = Sign.intern_class thy s;
    17         val class = Sign.intern_class thy s;
    18       in Class.pretty_specification thy class end));
    18       in Class.pretty_specification thy class end));