package piqilib

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

Module Piq_astSource

Sourcemodule U = Piqi_util
Sourcemodule Piq_ast : sig ... end
Sourcemodule Typed : sig ... end
Sourcemodule 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
]
Sourceval ast_of_bool : 'a -> [> `bool of 'a ]
Sourceval ast_to_bool : 'a -> bool
Sourceval transform_ast : string list -> (Piq_ast.ast -> Piq_ast.ast list) -> ast -> Piq_ast.ast
Sourceval map_words : ast -> (string -> string) -> ast
Sourceval is_infix_form : form_name -> ast list -> bool