piqilib

The Piqi library -- runtime support for multi-format Protobuf/JSON/XML/Piq data serialization and conversion
Library piqilib
Module Piq_ast
module U = Piqi_util
module Piq_ast : sig ... end
module Typed : sig ... end
module Named : sig ... end
type ast = [
| `any of int
| `binary of string * string
| `bool of bool
| `float of float * string
| `form of ast * ast list
| `int of int64 * string
| `list of ast list
| `name of string
| `named of Named.t
| `raw_string of string
| `string of string * string
| `text of string
| `typed of Typed.t
| `typename of string
| `uint of int64 * string
| `word of string
]
and form_name = [
| `name of string
| `typename of string
| `word of string
]
val ast_of_bool : 'a -> [> `bool of 'a ]
val ast_to_bool : 'a -> bool
val transform_ast : string list -> ( Piq_ast.ast -> Piq_ast.ast list ) -> ast -> Piq_ast.ast
val map_words : ast -> ( string -> string ) -> ast
val is_infix_form : form_name -> ast list -> bool