CBMC
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | List of all members
casting_replace_symbolt Class Reference

A variant of replace_symbolt that does not require types to match, but instead inserts type casts as needed when replacing one symbol by another. More...

#include <casting_replace_symbol.h>

+ Inheritance diagram for casting_replace_symbolt:
+ Collaboration diagram for casting_replace_symbolt:

Public Member Functions

 
- Public Member Functions inherited from replace_symbolt
  Sets old_expr to be replaced by new_expr if we don't already have a replacement; otherwise does nothing (i.e.
 
  Sets old_expr to be replaced by new_expr.
 
 
 
 
void  clear ()
 
 
std::size_t  erase (const irep_idt &id)
 
expr_mapt::iterator  erase (expr_mapt::iterator it)
 
 
 
 
 
 

Private Member Functions

 

Additional Inherited Members

- Public Types inherited from replace_symbolt
typedef std::unordered_map< irep_idt, exprtexpr_mapt
 
- Protected Member Functions inherited from replace_symbolt
 
 
- Protected Attributes inherited from replace_symbolt
 
std::set< irep_idtbindings
 

Detailed Description

A variant of replace_symbolt that does not require types to match, but instead inserts type casts as needed when replacing one symbol by another.

Definition at line 19 of file casting_replace_symbol.h.

Member Function Documentation

◆  replace()

bool casting_replace_symbolt::replace ( exprtdest ) const
overridevirtual

Reimplemented from replace_symbolt.

Definition at line 18 of file casting_replace_symbol.cpp.

◆  replace_symbol_expr()

bool casting_replace_symbolt::replace_symbol_expr ( symbol_exprtdest ) const
overrideprivatevirtual

Reimplemented from replace_symbolt.

Definition at line 83 of file casting_replace_symbol.cpp.


The documentation for this class was generated from the following files:

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