Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
and conversion = {
flags : flag list;
width : width_precision option;
precision : width_precision option option;
Some (Some _) : ".1", ".*" Some None : "." None : ""
*)ctype : ctype;
inlined_arg : (inlined_arg * int) option;
}
and t = token list
val conversion_to_string : conversion -> string
val compile_conversion : conversion -> [ `String of string | `Star ] list
val from_string : char list -> string -> t * string option
Tokens and remains if stopped at special chars. Lexing stops when it finds a non-escaped special char
val from_string_to_classic :
char list ->
string ->
t
* (int list * [ `Applied of inlined_arg * int | `Var of int ] list)
* string
* string option
remains