package piqilib

  1. Overview
  2. Docs
module U = Piqi_util
module Piq_ast : sig ... end
module Typed : sig ... end
module Named : sig ... end
include module type of struct include Piq_ast end
type ast = [
  1. | `int of int64 * string
  2. | `uint of int64 * string
  3. | `float of float * string
  4. | `bool of bool
  5. | `word of string
  6. | `string of string * string
  7. | `binary of string * string
  8. | `text of string
  9. | `name of string
  10. | `named of Named.t
  11. | `typename of string
  12. | `typed of Typed.t
  13. | `list of ast list
  14. | `form of ast * ast list
  15. | `raw_string of string
  16. | `any of int
]
and form_name = [
  1. | `word of string
  2. | `name of string
  3. | `typename 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
OCaml

Innovation. Community. Security.