Cf_chain_scanParsers for sequences of delimited elements.
This module provides scanners specialized for parsing chains, i.e. sequences of grammar elements separated by a terminal delimiter, and optionally preceded and/or succeeded by a delimiter.
module type Basis = sig ... endThe basis signature of a chain scanning module.
module type Profile = sig ... endThe signature of a chain scanning module.
module Create
(B : Basis) :
Profile
with type symbol := B.symbol
and type 'a form := 'a B.form
and type mark := B.Scan.mark
and type 'a t := 'a B.Scan.tUse Create(B) to make a chain scanning module for B.
module ASCII :
Profile
with type symbol := char
and type 'a form := 'a
and type mark := Cf_scan.ASCII.mark
and type 'a t := 'a Cf_scan.ASCII.tA distinguished chain scanner for simple ASCII character symbols.