package sexplib

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

Module Type_with_layout.ParsedSource

parsing produces absolute positions

Sourcetype t =
  1. | Atom of Src_pos.Absolute.t * string * string option
  2. | List of Src_pos.Absolute.t * t_or_comment list * Src_pos.Absolute.t

S-expressions annotated with relative source positions and comments

Sourceand t_or_comment =
  1. | Sexp of t
  2. | Comment of comment
Sourceand comment =
  1. | Plain_comment of Src_pos.Absolute.t * string
  2. | Sexp_comment of Src_pos.Absolute.t * comment list * t
Sourceval sexp_of_t : t -> Type.t
Sourceval sexp_of_comment : comment -> Type.t
Sourceval sexp_of_t_or_comment : t_or_comment -> Type.t