equal
deleted
inserted
replaced
115 val syntax = result_base.theory_syntax(name) |
115 val syntax = result_base.theory_syntax(name) |
116 Command.build_blobs_info(syntax, name, spans) |
116 Command.build_blobs_info(syntax, name, spans) |
117 case None => Command.Blobs_Info.none |
117 case None => Command.Blobs_Info.none |
118 } |
118 } |
119 } |
119 } |
120 } |
|
121 def make_rendering(snapshot: Document.Snapshot): Rendering = |
|
122 new Rendering(snapshot, options, session) { |
|
123 override def model: Document.Model = ??? |
|
124 } |
120 } |
125 |
121 |
126 object Build_Session_Errors |
122 object Build_Session_Errors |
127 { |
123 { |
128 private val promise: Promise[List[String]] = Future.promise |
124 private val promise: Promise[List[String]] = Future.promise |
229 } |
225 } |
230 |
226 |
231 session.finished_theories += Session.Consumer[Document.Snapshot]("finished_theories") |
227 session.finished_theories += Session.Consumer[Document.Snapshot]("finished_theories") |
232 { |
228 { |
233 case snapshot => |
229 case snapshot => |
234 val rendering = make_rendering(snapshot) |
230 val rendering = new Rendering(snapshot, options, session) |
235 |
231 |
236 def export(name: String, xml: XML.Body, compress: Boolean = true) |
232 def export(name: String, xml: XML.Body, compress: Boolean = true) |
237 { |
233 { |
238 val theory_name = snapshot.node_name.theory |
234 val theory_name = snapshot.node_name.theory |
239 val args = |
235 val args = |