mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-03 21:09:11 +00:00 
			
		
		
		
	add fromString method
This commit is contained in:
		
							parent
							
								
									4be26eb543
								
							
						
					
					
						commit
						53e168879a
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -1012,6 +1012,10 @@ export function createApi(Z3: Z3Core): Z3HighLevel {
 | 
				
			||||||
      toString() {
 | 
					      toString() {
 | 
				
			||||||
        return check(Z3.solver_to_string(contextPtr, this.ptr));
 | 
					        return check(Z3.solver_to_string(contextPtr, this.ptr));
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      fromString(s : string) {
 | 
				
			||||||
 | 
					        Z3.solver_from_string(contextPtr, this.ptr, s);
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    class ModelImpl implements Model<Name> {
 | 
					    class ModelImpl implements Model<Name> {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue