Kaitai.Print
val metaSpec : Types.MetaSpec.t -> [> `O of Yaml.mapping ]
val doc_spec :
Types.DocSpec.t ->
(string * [> `A of Yaml.sequence | `Scalar of Yaml.scalar ]) list
val instanceSpec : Types.InstanceSpec.t -> [> `O of Yaml.mapping ]
val instances_spec :
(string * Types.InstanceSpec.t) list ->
[> `O of Yaml.mapping ]
val enumSpec : Types.EnumSpec.t -> [> `O of Yaml.mapping ]
val enums_spec : (string * Types.EnumSpec.t) list -> [> `O of Yaml.mapping ]
val type_spec : Types.AttrSpec.t -> (string * [> `Scalar of Yaml.scalar ]) list
We only add "type" to Yaml if not AnyType
.
val repeat_spec :
Types.RepeatSpec.t ->
(string * [> `Scalar of Yaml.scalar ]) list
val if_spec : Types.Ast.t option -> (string * [> `Scalar of Yaml.scalar ]) list
val valid_spec :
Types.ValidationSpec.t option ->
(string * [> `O of Yaml.mapping ]) list
val enum_spec : Types.AttrSpec.t -> (string * [> `Scalar of Yaml.scalar ]) list
val size_spec : Types.AttrSpec.t -> (string * [> `Scalar of Yaml.scalar ]) list
val attr_spec : Types.AttrSpec.t -> [> `O of Yaml.mapping ] list
val seq_spec : Types.AttrSpec.t list -> [> `A of Yaml.sequence ]
val id_only_meta : Types.MetaSpec.t -> bool
val to_yaml : toplevel:bool -> Types.ClassSpec.t -> Yaml.yaml
val types_spec : (string * Types.ClassSpec.t) list -> Yaml.yaml
val to_string : Types.ClassSpec.t -> string
val print_diff : string -> Types.ClassSpec.t -> Types.ClassSpec.t -> unit
val print : Types.ClassSpec.t -> string