Cobol_preproc.Textmodule TYPES : sig ... endtype text =
Cobol_preproc__.Text_types.text_word Cobol_common.Srcloc.with_loc listand t = Cobol_preproc__.Text_types.text_word Cobol_common.Srcloc.with_loc listand text_word = | TextWord of string| CDirWord of string| Separator of char| Alphanum of alphanum| AlphanumPrefix of alphanum| Pseudo of pseudotext| ExecBlock of text| Eofand pseudotext =
Cobol_preproc__.Text_types.pseudotok Cobol_common.Srcloc.with_loc listand pseudoword = pseudotok Cobol_common.Srcloc.with_locand pseudotok = | PseudoWord of pseudoword_item Cobol_common.Srcloc.with_loc list| PseudoAlphanum of alphanumtype comment = {comment_loc : Cobol_common.Srcloc.lexloc;comment_kind : [ `Line | `Floating ];comment_contents : string;}*_eqp functions below perform (ASCII) case-insensitive comparisons.
val textwordp : text_word Cobol_common.Srcloc.with_loc -> boolval textword_eqp : eq:string -> text_word Cobol_common.Srcloc.with_loc -> boolval cdirp : text_word Cobol_common.Srcloc.with_loc -> boolval cdir_eqp : eq:string -> text_word Cobol_common.Srcloc.with_loc -> boolval join_pseudo_string :
string:((string Cobol_common.Srcloc.with_loc as 'a) -> 'a) ->
pseudoword_item Cobol_common.Srcloc.with_loc list ->
'a optionval pseudo_string : string Cobol_common.Srcloc.with_loc -> pseudowordval pseudoword_of_string : string Cobol_common.Srcloc.with_loc -> pseudowordval pseudoword_of_alphanum :
(string * quotation) Cobol_common.Srcloc.with_loc ->
pseudowordval pseudoword_of_integer : int64 Cobol_common.Srcloc.with_loc -> pseudowordval alphanum_as_pseudoword :
(string * 'a) Cobol_common.Srcloc.with_loc ->
pseudowordval pseudotext_of_string :
string Cobol_common.Srcloc.with_loc ->
pseudotext Cobol_common.Srcloc.with_locval pseudotext_of_alphanum :
(string * quotation) Cobol_common.Srcloc.with_loc ->
pseudotext Cobol_common.Srcloc.with_locval pseudotext_of_integer :
int64 Cobol_common.Srcloc.with_loc ->
pseudotext Cobol_common.Srcloc.with_locval alphanum_as_pseudotext :
(string * 'a) Cobol_common.Srcloc.with_loc ->
pseudotext Cobol_common.Srcloc.with_locval pp_text : text Pretty.printerval pp_text' : ?fsep:Pretty.simple -> text Pretty.printerval pp_quote : quotation Pretty.printerval pp_word : text_word Pretty.printerval pp_pseudotext : pseudotext Pretty.printerval pp_literal_kind : literal_kind Pretty.printerval pp_alphanum : alphanum Pretty.printerval prefix_of_literal_kind : literal_kind -> stringval char_of_quotation : quotation -> charval map_pseudowords : f:(string -> string) -> pseudotext -> pseudotext