package camlrack

  1. Overview
  2. Docs

Module Camlrack.ParseSource

Sourcetype sexp =
  1. | Integer of int
  2. | Float of float
  3. | String of string
  4. | Symbol of string
  5. | SExp of sexp list
Sourceval render_string_of_sexp : sexp -> string
Sourceval repr_string_of_sexp : sexp -> string
Sourceval sexp_not_err : string -> sexp -> 'a
Sourceval sexp_to_list_opt : sexp -> sexp list option
Sourceval sexp_to_list : sexp -> sexp list
Sourceval list_to_sexp : sexp list -> sexp
Sourceval sexp_to_int_opt : sexp -> int option
Sourceval sexp_to_int : sexp -> int
Sourceval int_to_sexp : int -> sexp
Sourceval sexp_to_float_opt : sexp -> float option
Sourceval sexp_to_float : sexp -> float
Sourceval float_to_sexp : float -> sexp
Sourceval sexp_to_string_opt : sexp -> string option
Sourceval sexp_to_string : sexp -> string
Sourceval string_to_sexp : string -> sexp
Sourceval sexp_to_symbol_opt : sexp -> string option
Sourceval sexp_to_symbol : sexp -> string
Sourceval symbol_to_sexp : string -> sexp
Sourceval push : 'a list ref -> 'a -> unit
Sourceval pop : 'a list ref -> 'a
Sourceval matching_braces : (Tokenize.token * Tokenize.token) list
Sourceval braces_match : Tokenize.token -> Tokenize.token -> bool
Sourceval string_of_sexp_list : sexp list -> string
Sourceval string_of_sexp_list_list : sexp list list -> string
Sourcetype parse_error =
  1. | EmptySExpression
  2. | MultipleSExpressions
  3. | UnterminatedSExpression of string
  4. | UnexpectedClosingBrace of string
  5. | MismatchedBraces of string * string
Sourceval render_error : parse_error -> string
Sourceval parse_tokens_to_many : Tokenize.token list -> (sexp list, parse_error) result
Sourceval parse_tokens_to_one : Tokenize.token list -> (sexp, parse_error) result
Sourceval parse : string -> (sexp, parse_error) result
Sourceval parse_exn : string -> sexp
Sourceval parse_opt : string -> sexp option
Sourceval parse_many : string -> (sexp list, parse_error) result
Sourceval parse_many_exn : string -> sexp list
Sourceval parse_many_opt : string -> sexp list option
OCaml

Innovation. Community. Security.