mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	
							parent
							
								
									26af694d2c
								
							
						
					
					
						commit
						e1f71d4932
					
				
					 4 changed files with 24 additions and 13 deletions
				
			
		| 
						 | 
				
			
			@ -104,7 +104,7 @@ void generic_model_converter::display(std::ostream & out) {
 | 
			
		|||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
model_converter * generic_model_converter::translate(ast_translation & translator) {
 | 
			
		||||
generic_model_converter * generic_model_converter::copy(ast_translation & translator) {
 | 
			
		||||
    ast_manager& to = translator.to();
 | 
			
		||||
    generic_model_converter * res = alloc(generic_model_converter, to, m_orig.c_str());
 | 
			
		||||
    for (entry const& e : m_entries) {
 | 
			
		||||
| 
						 | 
				
			
			@ -123,6 +123,7 @@ model_converter * generic_model_converter::translate(ast_translation & translato
 | 
			
		|||
    return res;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
void generic_model_converter::set_env(ast_pp_util* visitor) { 
 | 
			
		||||
    if (!visitor) {
 | 
			
		||||
        m_env = nullptr;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -58,7 +58,9 @@ public:
 | 
			
		|||
 | 
			
		||||
    void display(std::ostream & out) override;
 | 
			
		||||
 | 
			
		||||
    model_converter * translate(ast_translation & translator) override;
 | 
			
		||||
    model_converter * translate(ast_translation & translator) override { return copy(translator); }
 | 
			
		||||
 | 
			
		||||
    generic_model_converter* copy(ast_translation & translator);
 | 
			
		||||
 | 
			
		||||
    void set_env(ast_pp_util* visitor) override;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue