package lablqml

  1. Overview
  2. Docs

Module Myparser.TestdemoSource

Sourceval dummy_loc : Ppxlib.Location.t
Sourcetype 'a parse_result =
  1. | Failed
  2. | Parsed of 'a * stream_item list
Sourcetype 'a parser = stream_item list -> 'a parse_result
Sourceval return : 'a -> stream_item list -> 'a parse_result
Sourceval pnil : unit parser
Sourceval myparse : ('a, 'b, 'c parse_result) Ppxlib.Ast_pattern.t -> 'b -> 'a -> 'c parse_result
Sourceval args_end : unit parser
Sourceval named_string : string -> string parser
Sourceval name : string parser
Sourceval the_ident : string -> unit parser
Sourceval pident : string parser
Sourceval (>>=) : 'a parser -> ('a -> 'b parser) -> 'b parser
Sourceval many : 'a parser -> 'a list parser
Sourceval (>>) : 'a parser -> 'b parser -> 'b parser
Sourceval (<*) : 'a parser -> 'b parser -> 'a parser
Sourceval (<|>) : ('a -> 'b parse_result) -> ('a -> 'b parse_result) -> 'a -> 'b parse_result
Sourceval choice : ('a -> 'b parse_result) list -> 'a -> 'b parse_result
Sourceval wrap : ('a -> 'b parse_result) -> (stream_item list -> 'c parse_result) -> 'a -> onfail:'d -> ('b -> 'c -> 'd) -> 'd
Sourcetype prop_name = string
Sourceval show_prop_name : prop_name -> string
Sourcetype prop_typ = string
Sourceval show_prop_typ : prop_typ -> string
Sourcetype prop_info = {
  1. mutable p_read : string option;
  2. mutable p_write : string option;
  3. mutable p_notify : string option;
}
Sourceval show_prop_info : prop_info -> string
Sourceval make_prop_info : unit -> prop_info
Sourceval try_ : (stream_item list -> 'a parse_result) -> stream_item list -> 'a option parse_result
Sourceval parse_body : prop_info parser
Sourceval wrap_prop : Ppxlib.expression -> ((prop_name * prop_typ) -> prop_info -> 'a) -> onfail:'a -> 'a
Sourcetype info = {
  1. mutable is_singleton : bool;
  2. mutable name : string option;
  3. mutable namespace : string option;
  4. mutable props : (prop_name * prop_typ * prop_info) list;
}
Sourceval empty_info : info
Sourcetype prop_item = prop_name * prop_typ * prop_info
Sourceval show_prop_item : prop_item -> string
Sourcetype data_item =
  1. | ISingleton of bool
  2. | IProp of prop_item
  3. | IName of string
  4. | INamespace of string
Sourceval show_data_item : data_item -> string
Sourceval show_data_items : data_item list -> string
Sourceval parse_props : data_item parser
Sourceval all : info parser
Sourceval singleton : Ppxlib.expression -> unit parse_result
Sourceval wrap_qml : Ppxlib.expression -> (info -> 'a) -> onfail:'a -> 'a
Sourceval wrap_singleton : Ppxlib.expression -> (info -> 'a) -> onfail:'a -> 'a
Sourceval parse_singleton : Ppxlib.expression -> info Base.Option.t
OCaml

Innovation. Community. Security.