package containers

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

Module type CCSexp_intf.SEXPSource

Abstract representation of S-expressions (extended)

  • since 2.7
include BASIC_SEXP
Sourcetype t
Sourceval atom : string -> t
Sourceval list : t list -> t
Sourceval match_ : t -> atom:(string -> 'a) -> list:(t list -> 'a) -> 'a
Sourcetype loc
Sourceval make_loc : ((int * int) -> (int * int) -> string -> loc) option

If provided, builds a location from a pair of (line,column) positions, and a (possibly dummy) filename

Sourceval atom_with_loc : loc:loc -> string -> t
Sourceval list_with_loc : loc:loc -> t list -> t
OCaml

Innovation. Community. Security.