CBMC
Loading...
Searching...
No Matches
Functions
show_properties.cpp File Reference

Show Claims. More...

#include "show_properties.h"
#include <util/json_irep.h>
#include <util/ui_message.h>
#include <util/xml_irep.h>
#include <langapi/language_util.h>
#include "goto_model.h"
+ Include dependency graph for show_properties.cpp:

Go to the source code of this file.

Functions

  Returns a source_locationt that corresponds to the property given by an irep_idt.
 
 
  Collects the properties in the goto program into a json_arrayt
 
void  show_properties_json (const namespacet &ns, message_handlert &message_handler, const goto_functionst &goto_functions)
 
void  show_properties (const namespacet &ns, ui_message_handlert &ui_message_handler, const goto_functionst &goto_functions)
 
void  show_properties (const goto_modelt &goto_model, ui_message_handlert &ui_message_handler)
 

Detailed Description

Show Claims.

Definition in file show_properties.cpp.

Function Documentation

◆  convert_properties_json()

void convert_properties_json ( json_arraytjson_properties,
const namespacetns,
const irep_idtidentifier,
const goto_programtgoto_program 
)

Collects the properties in the goto program into a json_arrayt

Parameters
json_properties JSON array to hold the properties
ns namespace
identifier function id of the goto program
goto_program the goto program

Definition at line 126 of file show_properties.cpp.

◆  find_property()

std::optional< source_locationt > find_property ( const irep_idtproperty,
const goto_functionstgoto_functions 
)

Returns a source_locationt that corresponds to the property given by an irep_idt.

Parameters
property irep_idt that identifies property
goto_functions program in which to search for the property
Returns
optional<source_locationt> the location of the property, if found.

Definition at line 23 of file show_properties.cpp.

◆  show_properties() [1/3]

void show_properties ( const goto_modeltgoto_model,
ui_message_handlertui_message_handler 
)

Definition at line 209 of file show_properties.cpp.

◆  show_properties() [2/3]

void show_properties ( const namespacetns,
const irep_idtidentifier,
message_handlertmessage_handler,
const goto_programtgoto_program 
)

Definition at line 43 of file show_properties.cpp.

◆  show_properties() [3/3]

void show_properties ( const namespacetns,
ui_message_handlertui_message_handler,
const goto_functionstgoto_functions 
)

Definition at line 192 of file show_properties.cpp.

◆  show_properties_json()

void show_properties_json ( const namespacetns,
message_handlertmessage_handler,
const goto_functionstgoto_functions 
)

Definition at line 175 of file show_properties.cpp.

AltStyle によって変換されたページ (->オリジナル) /