Module Format_types

module Format_types: sig .. end
See C11, 7.21.6

type flag = 
| FMinus
| FPlus
| FSpace
| FSharp
| FZero
type flags = flag list 
type f_field_width = [ `FWInt of int | `FWStar ] 
type s_field_width = [ `FWInt of int ] 
type any_field_width = [ `FWInt of int | `FWStar ] 
type precision = 
| PStar
| PInt of int
type length_modifier = [ `L | `h | `hh | `j | `l | `ll | `t | `z ] 
type signed_specifier = [ `d | `i ] 
type unsigned_specifier = [ `o | `u | `x ] 
type integer_specifier = [ `d | `i | `o | `u | `x ] 
type float_specifier = [ `a | `e | `f | `g ] 
type numeric_specifier = [ `a | `d | `e | `f | `g | `i | `o | `u | `x ] 
type capitalizable = [ `a | `e | `f | `g | `x ] 
type has_alternative_form = [ `a | `e | `f | `g | `o | `x ] 
type f_conversion_specifier = [ `a | `c | `d | `e | `f | `g | `i | `n | `o | `p | `s | `u | `x ] 
type s_conversion_specifier = [ `Brackets of string
| `a
| `c
| `d
| `e
| `f
| `g
| `i
| `n
| `o
| `p
| `s
| `u
| `x ]
type any_conversion_specifier = [ `Brackets of string
| `a
| `c
| `d
| `e
| `f
| `g
| `i
| `n
| `o
| `p
| `s
| `u
| `x ]
type f_conversion_specification = {
   mutable f_flags : flags;
   mutable f_field_width : f_field_width option;
   mutable f_precision : precision option;
   mutable f_length_modifier : length_modifier option;
   mutable f_conversion_specifier : f_conversion_specifier;
   mutable f_capitalize : bool;
}
type s_conversion_specification = {
   mutable s_assignment_suppression : bool;
   mutable s_field_width : s_field_width option;
   mutable s_length_modifier : length_modifier option;
   mutable s_conversion_specifier : s_conversion_specifier;
}
type 'spec token = 
| Char of char
| Specification of 'spec
A format element is either a character or a conversion specification.
type f_format = f_conversion_specification token list 
type s_format = s_conversion_specification token list 
type format = 
| FFormat of f_format
| SFormat of s_format
type format_kind = 
| PrintfLike
| ScanfLike