package mopsa

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

Visitor of configuration files

type 'a visitor = {
  1. leaf : string option -> string -> 'a;
  2. switch : string option -> Yojson.Basic.t list -> 'a;
  3. compose : string option -> Yojson.Basic.t list -> 'a;
  4. union : string option -> Yojson.Basic.t list -> 'a;
  5. apply : string option -> Yojson.Basic.t -> Yojson.Basic.t -> 'a;
  6. nonrel : string option -> Yojson.Basic.t -> 'a;
  7. product : string option -> Yojson.Basic.t list -> string list -> 'a;
}
val get_semantic : (string * Yojson__Basic.t) list -> string option
val visit_leaf : 'a visitor -> string -> 'a
val visit_domain : 'a visitor -> (string * Yojson__Basic.t) list -> 'a
val visit_seq : 'a visitor -> (string * Yojson__Basic.t) list -> 'a
val visit_switch : 'a visitor -> (string * Yojson__Basic.t) list -> 'a
val visit_compose : 'a visitor -> (string * Yojson__Basic.t) list -> 'a
val visit_apply : 'a visitor -> (string * Yojson__Basic.t) list -> 'a
val visit_nonrel : 'a visitor -> (string * Yojson__Basic.t) list -> 'a
val visit_union : 'a visitor -> (string * Yojson__Basic.t) list -> 'a
val visit_product : 'a visitor -> (string * Yojson__Basic.t) list -> 'a
val visit : 'a visitor -> Yojson.Basic.t -> 'a
OCaml

Innovation. Community. Security.