mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-03 21:09:11 +00:00 
			
		
		
		
	additional API per #977
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									9933c36050
								
							
						
					
					
						commit
						8b5627e361
					
				
					 1 changed files with 19 additions and 1 deletions
				
			
		| 
						 | 
					@ -2057,7 +2057,17 @@ public class Context implements AutoCloseable {
 | 
				
			||||||
	checkContextMatch(re);
 | 
						checkContextMatch(re);
 | 
				
			||||||
	return (ReExpr) Expr.create(this, Native.mkReOption(nCtx(), re.getNativeObject()));            
 | 
						return (ReExpr) Expr.create(this, Native.mkReOption(nCtx(), re.getNativeObject()));            
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * Create the complement regular expression.
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    public ReExpr mkComplement(ReExpr re)
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
						checkContextMatch(re);
 | 
				
			||||||
 | 
						return (ReExpr) Expr.create(this, Native.mkReComplement(nCtx(), re.getNativeObject()));            
 | 
				
			||||||
 | 
					    }    
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * Create the concatenation of regular languages.
 | 
					     * Create the concatenation of regular languages.
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
| 
						 | 
					@ -2075,7 +2085,15 @@ public class Context implements AutoCloseable {
 | 
				
			||||||
	checkContextMatch(t);
 | 
						checkContextMatch(t);
 | 
				
			||||||
	return (ReExpr) Expr.create(this, Native.mkReUnion(nCtx(), t.length, AST.arrayToNative(t)));
 | 
						return (ReExpr) Expr.create(this, Native.mkReUnion(nCtx(), t.length, AST.arrayToNative(t)));
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * Create the intersection of regular languages.
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    public ReExpr mkIntersect(ReExpr... t)
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
						checkContextMatch(t);
 | 
				
			||||||
 | 
						return (ReExpr) Expr.create(this, Native.mkReIntersect(nCtx(), t.length, AST.arrayToNative(t)));
 | 
				
			||||||
 | 
					    }    
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * Create a range expression.
 | 
					     * Create a range expression.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue