Module Interface.AstSource

The PPX can optionally generate an ast field containing an Ast.t. This represents the structure of the interface, including how it is constructed from fields, arrays, lists and sub-modules.

This is of particular use when generating further code from the interface i.e. a register interace specification.

asts are not generated by default.

module Ast : sig ... end
module Field : sig ... end
module Type : sig ... end
module Sequence : sig ... end
Sourcetype t = Ast.t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t