C# Class Microsoft.Automata.Z3.Internal.ExprPrettyPrinter

Pretty printer of Z3 terms.
Datei anzeigen Open project: AutomataDotNet/Automata

Public Methods

Method Description
DescribeExpr ( Expr term, string>.Func lookupVarName ) : string

Returns a pretty printed view of the given term.

DescribeExprCS ( Expr term, string>.Func lookupVarName ) : string

Returns a pretty printed view of the given term. Uses C# compliant expression notation.

ExprPrettyPrinter ( Z3Provider z3p ) : System

Creates a pretty printer of Z3 terms in the given z3 provider z3p. Lists of concrete characters of the given numeric sort z3p.CharSort are displayed as escaped strings encolsed in doublequotes. Individual constants of sort z3p.CharSort are displayed as escaped characters enclosed in single-quotes.

Private Methods

Method Description
DescribeExpr ( Expr term ) : string

Returns a pretty printed view of the given term.

DescribeExpr1 ( Expr term ) : string
DescribeInfixOperator ( Z3_decl_kind declKind ) : string
DisplayNumber ( int code ) : string
EliminateOuterParanthesis ( string cond ) : string
IsBitDisjOrConj ( Z3_decl_kind declKind ) : bool
IsCocreteCharacterList ( Expr term, string &str ) : bool
IsConcat ( Expr term, Expr &terms ) : bool
IsDisjOrConj ( Z3_decl_kind declKind ) : bool
IsInfixOperator ( Z3_decl_kind declKind ) : bool
LookupVarName ( Expr var ) : string
ShiftLeftAndBitOr ( string result, string s2, uint sz ) : string
TryGetNumber ( string s1, int &_nr ) : bool

Method Details

DescribeExpr() public method

Returns a pretty printed view of the given term.
public DescribeExpr ( Expr term, string>.Func lookupVarName ) : string
term Microsoft.Z3.Expr the given term
lookupVarName string>.Func lookup function for variable names
return string

DescribeExprCS() public method

Returns a pretty printed view of the given term. Uses C# compliant expression notation.
public DescribeExprCS ( Expr term, string>.Func lookupVarName ) : string
term Microsoft.Z3.Expr the given term
lookupVarName string>.Func lookup function for variable names
return string

ExprPrettyPrinter() public method

Creates a pretty printer of Z3 terms in the given z3 provider z3p. Lists of concrete characters of the given numeric sort z3p.CharSort are displayed as escaped strings encolsed in doublequotes. Individual constants of sort z3p.CharSort are displayed as escaped characters enclosed in single-quotes.
public ExprPrettyPrinter ( Z3Provider z3p ) : System
z3p Z3Provider given z3 provider
return System