You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
752 B
31 lines
752 B
(*
|
|
* Copyright (c) 2016-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*)
|
|
|
|
open! IStd
|
|
|
|
(** utilities for importing JSON specifications of sources/sinks into Quandary*)
|
|
|
|
module Source : sig
|
|
type t = {procedure: string; kinds: string list; index: string}
|
|
|
|
val of_json : [> `List of Yojson.Basic.json list] -> t list
|
|
end
|
|
|
|
module Sink : sig
|
|
type t = {procedure: string; kinds: string list; index: string}
|
|
|
|
val of_json : [> `List of Yojson.Basic.json list] -> t list
|
|
end
|
|
|
|
module Sanitizer : sig
|
|
type t = {procedure: string; kind: string}
|
|
|
|
val of_json : [> `List of Yojson.Basic.json list] -> t list
|
|
end
|
|
|
|
val is_endpoint : string -> bool
|