Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
The Concrete
module is concerned with converting between raw text and a "concrete" list representation of the items in the text.
val parse : Pervasives.in_channel -> t list
Picture the text as ANSI escape sequences, interspersed with normal text. parse
converts the raw characters to a t list
. The 'reset' escape converts to Reset
; all others convert to Esc styles
, and text to Text str
.
val parse_str : string -> t list
Analogous to parse
.