C# Class Microsoft.Z3.Expr

Inheritance: AST
Afficher le fichier Open project: sslab-gatech/juxta Class Usage Examples

Private Properties

Свойство Type Description
CheckNativeObject void
Create Expr
Create Expr

Méthodes publiques

Méthode Description
Simplify ( Params p = null ) : Expr

Returns a simplified version of the expression.

Substitute ( Expr from, Expr to ) : Expr

Substitute every occurrence of from[i] in the expression with to[i], for i smaller than num_exprs.

The result is the new expression. The arrays from and to must have size num_exprs. For every i smaller than num_exprs, we must have that sort of from[i] must be equal to sort of to[i].

SubstituteVars ( Expr to ) : Expr

Substitute the free variables in the expression with the expressions in to

For every i smaller than num_exprs, the variable with de-Bruijn index i is replaced with term to[i].

ToString ( ) : string

Returns a string representation of the expression.

Translate ( Context ctx ) : Expr

Translates (copies) the term to the Context ctx.

Update ( Expr args ) : void

Update the arguments of the expression using the arguments args The number of new arguments should coincide with the current number of arguments.

Méthodes protégées

Méthode Description
Expr ( Context ctx ) : System

Constructor for Expr

Expr ( Context ctx, IntPtr obj ) : System

Constructor for Expr

Private Methods

Méthode Description
CheckNativeObject ( IntPtr obj ) : void
Create ( Context ctx, FuncDecl f ) : Expr
Create ( Context ctx, IntPtr obj ) : Expr

Method Details

Expr() protected méthode

Constructor for Expr
protected Expr ( Context ctx ) : System
ctx Context
Résultat System

Expr() protected méthode

Constructor for Expr
protected Expr ( Context ctx, IntPtr obj ) : System
ctx Context
obj System.IntPtr
Résultat System

Simplify() public méthode

Returns a simplified version of the expression.
public Simplify ( Params p = null ) : Expr
p Params A set of parameters to configure the simplifier
Résultat Expr

Substitute() public méthode

Substitute every occurrence of from[i] in the expression with to[i], for i smaller than num_exprs.
The result is the new expression. The arrays from and to must have size num_exprs. For every i smaller than num_exprs, we must have that sort of from[i] must be equal to sort of to[i].
public Substitute ( Expr from, Expr to ) : Expr
from Expr
to Expr
Résultat Expr

SubstituteVars() public méthode

Substitute the free variables in the expression with the expressions in to
For every i smaller than num_exprs, the variable with de-Bruijn index i is replaced with term to[i].
public SubstituteVars ( Expr to ) : Expr
to Expr
Résultat Expr

ToString() public méthode

Returns a string representation of the expression.
public ToString ( ) : string
Résultat string

Translate() public méthode

Translates (copies) the term to the Context ctx.
public Translate ( Context ctx ) : Expr
ctx Context A context
Résultat Expr

Update() public méthode

Update the arguments of the expression using the arguments args The number of new arguments should coincide with the current number of arguments.
public Update ( Expr args ) : void
args Expr
Résultat void