CBMC
|
Base class for code which can contain references which can get replaced before generating actual codet. More...
#include <code_with_references.h>
Public Types | |
using | reference_substitutiont = std::function< const object_creation_referencet &(const std::string &)> |
Public Member Functions | |
virtual code_blockt | to_code (reference_substitutiont &) const =0 |
virtual | ~code_with_referencest ()=default |
Base class for code which can contain references which can get replaced before generating actual codet.
Currently only references in array allocations are supported, because this is currently the only use required by assign_from_json.
Definition at line 40 of file code_with_references.h.
using code_with_referencest::reference_substitutiont = std::function<const object_creation_referencet &(const std::string &)> |
Definition at line 43 of file code_with_references.h.
|
virtualdefault |
|
pure virtual |
Implemented in reference_allocationt, and code_without_referencest.