Visitors.endo
constraint
'b =
< visit_'annot : 'c -> 'd -> 'd
; visit_'label : 'c -> 'f -> 'f
; visit_ALoc : 'c -> Expr.t -> string -> Expr.t
; visit_And : 'c -> Formula.t -> Formula.t -> Formula.t -> Formula.t
; visit_Impl : 'c -> Formula.t -> Formula.t -> Formula.t -> Formula.t
; visit_Apply : 'c -> 'f Cmd.t -> string -> Expr.t -> 'f option -> 'f Cmd.t
; visit_ApplyLem :
'c ->
SLCmd.t ->
string ->
Expr.t list ->
string list ->
SLCmd.t
; visit_Arguments : 'c -> 'f Cmd.t -> string -> 'f Cmd.t
; visit_Assert : 'c -> LCmd.t -> Formula.t -> LCmd.t
; visit_Assignment : 'c -> 'f Cmd.t -> string -> Expr.t -> 'f Cmd.t
; visit_Assume : 'c -> LCmd.t -> Formula.t -> LCmd.t
; visit_AssumeType : 'c -> LCmd.t -> Expr.t -> Type.t -> LCmd.t
; visit_BAnd : 'c -> BinOp.t -> BinOp.t
; visit_BOr : 'c -> BinOp.t -> BinOp.t
; visit_BImpl : 'c -> BinOp.t -> BinOp.t
; visit_BSetMem : 'c -> BinOp.t -> BinOp.t
; visit_BSetSub : 'c -> BinOp.t -> BinOp.t
; visit_BinOp : 'c -> Expr.t -> Expr.t -> BinOp.t -> Expr.t -> Expr.t
; visit_BitwiseAnd : 'c -> BinOp.t -> BinOp.t
; visit_BitwiseAndL : 'c -> BinOp.t -> BinOp.t
; visit_BitwiseAndF : 'c -> BinOp.t -> BinOp.t
; visit_BitwiseNot : 'c -> UnOp.t -> UnOp.t
; visit_BitwiseOr : 'c -> BinOp.t -> BinOp.t
; visit_BitwiseOrL : 'c -> BinOp.t -> BinOp.t
; visit_BitwiseOrF : 'c -> BinOp.t -> BinOp.t
; visit_BitwiseXor : 'c -> BinOp.t -> BinOp.t
; visit_BitwiseXorL : 'c -> BinOp.t -> BinOp.t
; visit_BitwiseXorF : 'c -> BinOp.t -> BinOp.t
; visit_Bool : 'c -> Literal.t -> bool -> Literal.t
; visit_BooleanType : 'c -> Type.t -> Type.t
; visit_Branch : 'c -> LCmd.t -> Formula.t -> LCmd.t
; visit_Bug : 'c -> Flag.t -> Flag.t
; visit_Call :
'c ->
'f Cmd.t ->
string ->
Expr.t ->
Expr.t list ->
'f option ->
(string * (string * Expr.t) list) option ->
'f Cmd.t
; visit_Car : 'c -> UnOp.t -> UnOp.t
; visit_Cdr : 'c -> UnOp.t -> UnOp.t
; visit_Constant : 'c -> Literal.t -> Constant.t -> Literal.t
; visit_ECall :
'c ->
'f Cmd.t ->
string ->
Expr.t ->
Expr.t list ->
'f option ->
'f Cmd.t
; visit_EList : 'c -> Expr.t -> Expr.t list -> Expr.t
; visit_ESet : 'c -> Expr.t -> Expr.t list -> Expr.t
; visit_Exists :
'c ->
Expr.t ->
(string * Type.t option) list ->
Expr.t ->
Expr.t
; visit_EForall :
'c ->
Expr.t ->
(string * Type.t option) list ->
Expr.t ->
Expr.t
; visit_Emp : 'c -> Asrt.t -> Asrt.t
; visit_Empty : 'c -> Literal.t -> Literal.t
; visit_EmptyType : 'c -> Type.t -> Type.t
; visit_Epsilon : 'c -> Constant.t -> Constant.t
; visit_Eq : 'c -> Formula.t -> Expr.t -> Expr.t -> Formula.t
; visit_Equal : 'c -> BinOp.t -> BinOp.t
; visit_Error : 'c -> Flag.t -> Flag.t
; visit_FDiv : 'c -> BinOp.t -> BinOp.t
; visit_FLessThan : 'c -> BinOp.t -> BinOp.t
; visit_FLessThanEqual : 'c -> BinOp.t -> BinOp.t
; visit_FMinus : 'c -> BinOp.t -> BinOp.t
; visit_FMod : 'c -> BinOp.t -> BinOp.t
; visit_FPlus : 'c -> BinOp.t -> BinOp.t
; visit_FTimes : 'c -> BinOp.t -> BinOp.t
; visit_FUnaryMinus : 'c -> UnOp.t -> UnOp.t
; visit_Fail : 'c -> 'f Cmd.t -> string -> Expr.t list -> 'f Cmd.t
; visit_False : 'c -> Formula.t -> Formula.t
; visit_Fold :
'c ->
SLCmd.t ->
string ->
Expr.t list ->
(string * (string * Expr.t) list) option ->
SLCmd.t
; visit_ForAll :
'c ->
Formula.t ->
(string * Type.t option) list ->
Formula.t ->
Formula.t
; visit_GA : 'c -> Asrt.t -> string -> Expr.t list -> Expr.t list -> Asrt.t
; visit_Wand :
'c ->
Asrt.t ->
(string * Expr.t list) ->
(string * Expr.t list) ->
Asrt.t
; visit_GUnfold : 'c -> SLCmd.t -> string -> SLCmd.t
; visit_Goto : 'c -> 'f Cmd.t -> 'f -> 'f Cmd.t
; visit_GuardedGoto : 'c -> 'f Cmd.t -> Expr.t -> 'f -> 'f -> 'f Cmd.t
; visit_IDiv : 'c -> BinOp.t -> BinOp.t
; visit_ILessThan : 'c -> BinOp.t -> BinOp.t
; visit_ILessThanEqual : 'c -> BinOp.t -> BinOp.t
; visit_IMinus : 'c -> BinOp.t -> BinOp.t
; visit_IMod : 'c -> BinOp.t -> BinOp.t
; visit_IPlus : 'c -> BinOp.t -> BinOp.t
; visit_ITimes : 'c -> BinOp.t -> BinOp.t
; visit_IUnaryMinus : 'c -> UnOp.t -> UnOp.t
; visit_If : 'c -> LCmd.t -> Expr.t -> LCmd.t list -> LCmd.t list -> LCmd.t
; visit_Int : 'c -> Literal.t -> Z.t -> Literal.t
; visit_IntType : 'c -> Type.t -> Type.t
; visit_Invariant : 'c -> SLCmd.t -> Asrt.t -> string list -> SLCmd.t
; visit_Consume : 'c -> SLCmd.t -> Asrt.t -> string list -> SLCmd.t
; visit_Produce : 'c -> SLCmd.t -> Asrt.t -> SLCmd.t
; visit_LAction :
'c ->
'f Cmd.t ->
string ->
string ->
Expr.t list ->
'f Cmd.t
; visit_LList : 'c -> Literal.t -> Literal.t list -> Literal.t
; visit_LVar : 'c -> Expr.t -> string -> Expr.t
; visit_LeftShift : 'c -> BinOp.t -> BinOp.t
; visit_LeftShiftL : 'c -> BinOp.t -> BinOp.t
; visit_LeftShiftF : 'c -> BinOp.t -> BinOp.t
; visit_FLess : 'c -> Formula.t -> Expr.t -> Expr.t -> Formula.t
; visit_FLessEq : 'c -> Formula.t -> Expr.t -> Expr.t -> Formula.t
; visit_ILess : 'c -> Formula.t -> Expr.t -> Expr.t -> Formula.t
; visit_ILessEq : 'c -> Formula.t -> Expr.t -> Expr.t -> Formula.t
; visit_IsInt : 'c -> Formula.t -> Expr.t -> Formula.t
; visit_ListType : 'c -> Type.t -> Type.t
; visit_Lit : 'c -> Expr.t -> Literal.t -> Expr.t
; visit_Loc : 'c -> Literal.t -> string -> Literal.t
; visit_LocalTime : 'c -> Constant.t -> Constant.t
; visit_Logic : 'c -> 'f Cmd.t -> LCmd.t -> 'f Cmd.t
; visit_LstCat : 'c -> NOp.t -> NOp.t
; visit_LstLen : 'c -> UnOp.t -> UnOp.t
; visit_LstNth : 'c -> BinOp.t -> BinOp.t
; visit_LstRepeat : 'c -> BinOp.t -> BinOp.t
; visit_LstRev : 'c -> UnOp.t -> UnOp.t
; visit_LstSub : 'c -> Expr.t -> Expr.t -> Expr.t -> Expr.t -> Expr.t
; visit_M_abs : 'c -> UnOp.t -> UnOp.t
; visit_M_acos : 'c -> UnOp.t -> UnOp.t
; visit_M_asin : 'c -> UnOp.t -> UnOp.t
; visit_M_atan : 'c -> UnOp.t -> UnOp.t
; visit_M_atan2 : 'c -> BinOp.t -> BinOp.t
; visit_M_ceil : 'c -> UnOp.t -> UnOp.t
; visit_M_cos : 'c -> UnOp.t -> UnOp.t
; visit_M_exp : 'c -> UnOp.t -> UnOp.t
; visit_M_floor : 'c -> UnOp.t -> UnOp.t
; visit_M_isNaN : 'c -> UnOp.t -> UnOp.t
; visit_M_log : 'c -> UnOp.t -> UnOp.t
; visit_M_pow : 'c -> BinOp.t -> BinOp.t
; visit_M_round : 'c -> UnOp.t -> UnOp.t
; visit_M_sgn : 'c -> UnOp.t -> UnOp.t
; visit_M_sin : 'c -> UnOp.t -> UnOp.t
; visit_M_sqrt : 'c -> UnOp.t -> UnOp.t
; visit_M_tan : 'c -> UnOp.t -> UnOp.t
; visit_Macro : 'c -> LCmd.t -> string -> Expr.t list -> LCmd.t
; visit_MaxSafeInteger : 'c -> Constant.t -> Constant.t
; visit_Max_float : 'c -> Constant.t -> Constant.t
; visit_Min_float : 'c -> Constant.t -> Constant.t
; visit_NOp : 'c -> Expr.t -> NOp.t -> Expr.t list -> Expr.t
; visit_NoneType : 'c -> Type.t -> Type.t
; visit_Nono : 'c -> Literal.t -> Literal.t
; visit_Normal : 'c -> Flag.t -> Flag.t
; visit_Not : 'c -> Formula.t -> Formula.t -> Formula.t
; visit_Null : 'c -> Literal.t -> Literal.t
; visit_NullType : 'c -> Type.t -> Type.t
; visit_Num : 'c -> Literal.t -> float -> Literal.t
; visit_NumberType : 'c -> Type.t -> Type.t
; visit_ObjectType : 'c -> Type.t -> Type.t
; visit_Or : 'c -> Formula.t -> Formula.t -> Formula.t -> Formula.t
; visit_PVar : 'c -> Expr.t -> string -> Expr.t
; visit_PhiAssignment :
'c ->
'f Cmd.t ->
(string * Expr.t list) list ->
'f Cmd.t
; visit_Pi : 'c -> Constant.t -> Constant.t
; visit_Pred : 'c -> Asrt.t -> string -> Expr.t list -> Asrt.t
; visit_Pure : 'c -> Asrt.t -> Formula.t -> Asrt.t
; visit_Random : 'c -> Constant.t -> Constant.t
; visit_ReturnError : 'c -> 'f Cmd.t -> 'f Cmd.t
; visit_ReturnNormal : 'c -> 'f Cmd.t -> 'f Cmd.t
; visit_SL : 'c -> LCmd.t -> SLCmd.t -> LCmd.t
; visit_SLessThan : 'c -> BinOp.t -> BinOp.t
; visit_SepAssert : 'c -> SLCmd.t -> Asrt.t -> string list -> SLCmd.t
; visit_SetDiff : 'c -> BinOp.t -> BinOp.t
; visit_SetInter : 'c -> NOp.t -> NOp.t
; visit_SetMem : 'c -> Formula.t -> Expr.t -> Expr.t -> Formula.t
; visit_SetSub : 'c -> Formula.t -> Expr.t -> Expr.t -> Formula.t
; visit_SetToList : 'c -> UnOp.t -> UnOp.t
; visit_SetType : 'c -> Type.t -> Type.t
; visit_SetUnion : 'c -> NOp.t -> NOp.t
; visit_SignedRightShift : 'c -> BinOp.t -> BinOp.t
; visit_SignedRightShiftL : 'c -> BinOp.t -> BinOp.t
; visit_SignedRightShiftF : 'c -> BinOp.t -> BinOp.t
; visit_Skip : 'c -> 'f Cmd.t -> 'f Cmd.t
; visit_FreshSVar : 'c -> LCmd.t -> string -> LCmd.t
; visit_Star : 'c -> Asrt.t -> Asrt.t -> Asrt.t -> Asrt.t
; visit_StrCat : 'c -> BinOp.t -> BinOp.t
; visit_StrLen : 'c -> UnOp.t -> UnOp.t
; visit_NumToInt : 'c -> UnOp.t -> UnOp.t
; visit_IntToNum : 'c -> UnOp.t -> UnOp.t
; visit_StrLess : 'c -> Formula.t -> Expr.t -> Expr.t -> Formula.t
; visit_StrNth : 'c -> BinOp.t -> BinOp.t
; visit_String : 'c -> Literal.t -> string -> Literal.t
; visit_StringType : 'c -> Type.t -> Type.t
; visit_SymbExec : 'c -> SLCmd.t -> SLCmd.t
; visit_ToInt32Op : 'c -> UnOp.t -> UnOp.t
; visit_ToIntOp : 'c -> UnOp.t -> UnOp.t
; visit_ToNumberOp : 'c -> UnOp.t -> UnOp.t
; visit_ToStringOp : 'c -> UnOp.t -> UnOp.t
; visit_ToUint16Op : 'c -> UnOp.t -> UnOp.t
; visit_ToUint32Op : 'c -> UnOp.t -> UnOp.t
; visit_True : 'c -> Formula.t -> Formula.t
; visit_Type : 'c -> Literal.t -> Type.t -> Literal.t
; visit_TypeOf : 'c -> UnOp.t -> UnOp.t
; visit_TypeType : 'c -> Type.t -> Type.t
; visit_Types : 'c -> Asrt.t -> (Expr.t * Type.t) list -> Asrt.t
; visit_UNot : 'c -> UnOp.t -> UnOp.t
; visit_UTCTime : 'c -> Constant.t -> Constant.t
; visit_UnOp : 'c -> Expr.t -> UnOp.t -> Expr.t -> Expr.t
; visit_Undefined : 'c -> Literal.t -> Literal.t
; visit_UndefinedType : 'c -> Type.t -> Type.t
; visit_Unfold :
'c ->
SLCmd.t ->
string ->
Expr.t list ->
(string * string) list option ->
bool ->
SLCmd.t
; visit_Package :
'c ->
SLCmd.t ->
(string * Expr.t list) ->
(string * Expr.t list) ->
SLCmd.t
; visit_UnsignedRightShift : 'c -> BinOp.t -> BinOp.t
; visit_UnsignedRightShiftL : 'c -> BinOp.t -> BinOp.t
; visit_UnsignedRightShiftF : 'c -> BinOp.t -> BinOp.t
; visit_assertion : 'c -> Asrt.t -> Asrt.t
; visit_bindings :
'c ->
(string * (string * Expr.t) list) ->
string * (string * Expr.t) list
; visit_binop : 'c -> BinOp.t -> BinOp.t
; visit_bispec : 'c -> BiSpec.t -> BiSpec.t
; visit_cmd : 'c -> 'f Cmd.t -> 'f Cmd.t
; visit_constant : 'c -> Constant.t -> Constant.t
; visit_expr : 'c -> Expr.t -> Expr.t
; visit_flag : 'c -> Flag.t -> Flag.t
; visit_formula : 'c -> Formula.t -> Formula.t
; visit_lcmd : 'c -> LCmd.t -> LCmd.t
; visit_lemma : 'c -> Lemma.t -> Lemma.t
; visit_lemma_spec : 'c -> Lemma.spec -> Lemma.spec
; visit_literal : 'c -> Literal.t -> Literal.t
; visit_macro : 'c -> Macro.t -> Macro.t
; visit_nop : 'c -> NOp.t -> NOp.t
; visit_pred : 'c -> Pred.t -> Pred.t
; visit_proc : 'c -> ('d, 'f) Proc.t -> ('d, 'f) Proc.t
; visit_single_spec : 'c -> Spec.st -> Spec.st
; visit_slcmd : 'c -> SLCmd.t -> SLCmd.t
; visit_spec : 'c -> Spec.t -> Spec.t
; visit_typ : 'c -> Type.t -> Type.t
; visit_unop : 'c -> UnOp.t -> UnOp.t.. >
method visit_Constant : 'c -> Literal.t -> Constant.t -> Literal.t
method visit_Epsilon : 'c -> Constant.t -> Constant.t
method visit_LocalTime : 'c -> Constant.t -> Constant.t
method visit_MaxSafeInteger : 'c -> Constant.t -> Constant.t
method visit_Max_float : 'c -> Constant.t -> Constant.t
method visit_Min_float : 'c -> Constant.t -> Constant.t
method visit_Pi : 'c -> Constant.t -> Constant.t
method visit_Random : 'c -> Constant.t -> Constant.t
method visit_UTCTime : 'c -> Constant.t -> Constant.t
method visit_constant : 'c -> Constant.t -> Constant.t
method visit_lemma_spec : 'c -> Lemma.spec -> Lemma.spec