@@ -280,6 +280,28 @@ class ai_baset
280280 const goto_programt &goto_program,
281281 std::ostream &out) const ;
282282
283+ // / Output the abstract states for a single function as JSON
284+ // / \param ns: The namespace
285+ // / \param goto_program: The goto program
286+ // / \param function_id: The identifier used to find a symbol to
287+ // / identify the source language
288+ // / \return The JSON object
289+ virtual jsont output_json (
290+ const namespacet &ns,
291+ const irep_idt &function_id,
292+ const goto_programt &goto_program) const ;
293+
294+ // / Output the abstract states for a single function as XML
295+ // / \param ns: The namespace
296+ // / \param goto_program: The goto program
297+ // / \param function_id: The identifier used to find a symbol to
298+ // / identify the source language
299+ // / \return The XML object
300+ virtual xmlt output_xml (
301+ const namespacet &ns,
302+ const irep_idt &function_id,
303+ const goto_programt &goto_program) const ;
304+
283305 // / Output the abstract states for a whole program
284306 virtual void output (
285307 const namespacet &ns,
@@ -389,28 +411,6 @@ class ai_baset
389411 // / entry state required by the analysis
390412 trace_ptrt entry_state (const goto_functionst &goto_functions);
391413
392- // / Output the abstract states for a single function as JSON
393- // / \param ns: The namespace
394- // / \param goto_program: The goto program
395- // / \param function_id: The identifier used to find a symbol to
396- // / identify the source language
397- // / \return The JSON object
398- virtual jsont output_json (
399- const namespacet &ns,
400- const irep_idt &function_id,
401- const goto_programt &goto_program) const ;
402-
403- // / Output the abstract states for a single function as XML
404- // / \param ns: The namespace
405- // / \param goto_program: The goto program
406- // / \param function_id: The identifier used to find a symbol to
407- // / identify the source language
408- // / \return The XML object
409- virtual xmlt output_xml (
410- const namespacet &ns,
411- const irep_idt &function_id,
412- const goto_programt &goto_program) const ;
413-
414414 // / The work queue, sorted using the history's ordering operator
415415 typedef trace_sett working_sett;
416416
0 commit comments