CloneContext
INCLUDE FILE
#include "CloneContext.h"
class CloneContext
DEFINITION
class CloneContext;
constructor CloneContext
DEFINITION
| CloneContext | ( | ); |
constructor CloneContext
DEFINITION
| CloneContext | ( | std::shared_ptr< Scope > containing_scope, | |
| const CloneContext * parent = nullptr | ); |
| PARAMETER | DESCRIPTION |
|---|---|
containing_scope |
|
parent |
method add_mapping
DEFINITION
| void add_mapping | ( | const std::shared_ptr< Constant > & original, | |
| const std::shared_ptr< Constant > & clone | ); |
| PARAMETER | DESCRIPTION |
|---|---|
original |
|
clone |
method mapconst
DEFINITION
| std::shared_ptr< Constant > map | ( | const std::shared_ptr< Constant > & constant | ) const; |
| PARAMETER | DESCRIPTION |
|---|---|
constant |
| RETURNS | DESCRIPTION |
|---|---|
std::shared_ptr< Constant > |
member constant_mapprivate
DEFINITION
std::unordered_map< std::shared_ptr< Constant >, std::shared_ptr< Constant > > constant_map;
member containing_scope
DEFINITION
std::shared_ptr< Scope > containing_scope;
member parentprivate
DEFINITION
const CloneContext * parent;