module AST:sig..end
The abstract syntax tree (AST) module
type ast
module ASTVector:sig..end
Vectors of ASTs
module ASTMap:sig..end
Map from AST to AST
val hash : ast -> intThe AST's hash code.
val get_id : ast -> intA unique identifier for the AST (unique among all ASTs).
val get_ast_kind : ast -> Z3enums.ast_kindThe kind of the AST.
val is_expr : ast -> boolIndicates whether the AST is an Expr
val is_var : ast -> boolIndicates whether the AST is a bound variable
val is_quantifier : ast -> boolIndicates whether the AST is a Quantifier
val is_sort : ast -> boolIndicates whether the AST is a Sort
val is_func_decl : ast -> boolIndicates whether the AST is a func_decl
val to_string : ast -> stringA string representation of the AST.
val to_sexpr : ast -> stringA string representation of the AST in s-expression notation.
val equal : ast -> ast -> boolComparison operator.
val compare : ast -> ast -> intObject Comparison.
val translate : ast -> context -> astTranslates (copies) the AST to another context.