package archetype

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Archetype.ServicesSource

Sourcetype status =
  1. | Passed
  2. | Error
Sourceval status_to_yojson : status -> Yojson.Safe.t
Sourcetype position = {
  1. line : int;
  2. col : int;
  3. char : int;
}
Sourceval position_to_yojson : position -> Yojson.Safe.t
Sourcetype location = {
  1. start : position;
  2. end_ : position;
}
Sourceval location_to_yojson : location -> Yojson.Safe.t
Sourcetype kind =
  1. | StorageInvariant
  2. | Fails
  3. | Assert
  4. | PostCondition
  5. | SecurityPredicate
Sourceval kind_to_yojson : kind -> Yojson.Safe.t
Sourcetype invariant = {
  1. label : string;
  2. formulas : string list;
}
Sourceval invariant_to_yojson : invariant -> Yojson.Safe.t
Sourcetype property = {
  1. kind : kind;
  2. id : string;
  3. formula : string;
  4. invariants : invariant list;
  5. location : location;
}
Sourceval property_to_yojson : property -> Yojson.Safe.t
Sourcetype 'a result = {
  1. status : status;
  2. obj : 'a;
}
Sourceval result_to_yojson : 'a. ('a -> Yojson.Safe.t) -> 'a result -> Yojson.Safe.t
Sourcetype result_get_property = property list result
Sourceval result_get_property_to_yojson : result_get_property -> Yojson.Safe.t
Sourceval show_result_get_property : result_get_property -> Ppx_deriving_runtime.string
Sourceval mk_position : (int * int) -> int -> position
Sourceval mk_location : Location.t -> location
Sourceval mk_invariant : string -> string list -> invariant
Sourceval mk_property : ?invariants:invariant list -> kind -> string -> string -> location -> property
Sourceval mk_property_get_property : status -> property list -> result_get_property
Sourceval extract_properties : ParseTree.archetype -> property list
Sourceval print_json : ('a -> Yojson.Safe.t) -> 'a -> string
Sourceval process : Options.service_kind -> Core.from_input -> string
Sourceval process_from_string : Options.service_kind -> string -> string
OCaml

Innovation. Community. Security.