package orsetto

  1. Overview
  2. Docs
A library of assorted structured data interchange languages

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.2.tar.gz
sha512=e260412b2dd0f98cfe3dc7ed5c31a694eb31c93cd207c51fa12675b790234ee0ad3bf07d9be17a4dc266fedfe55b14c967cad7bc0c9414063eef8afd59f3d0d1

doc/orsetto.cf/Cf_annot/Create/Scan_basis/Form/index.html

Module Scan_basis.Form

The signature of production forms.

type 'a t = 'a form

A value conceptually annotated with its position in the input.

val imp : 'a -> 'a t

Scanners use imp value to create a value form with a distinguished implicit position, i.e. not located in the input stream.

val dn : 'a t -> 'a

Scanners use dn form to get the value wrapped in form.

val mv : 'a -> 'b t -> 'a t

Scanners use mv value form to make a form containing value attributed with the same position as form.

val span : 'a t -> 'b t -> 'c -> 'c t

Scanners use span a b value to make a form containing value attributed to the span of positions from a to b.

OCaml

Innovation. Community. Security.