Module Wax_utilsSource

Sourcemodule Ast : sig ... end

Generic AST definitions.

Sourcemodule Colors : sig ... end
Sourcemodule Debug : sig ... end

Developer-facing debug output, enabled per category with --debug.

Sourcemodule Diagnostic : sig ... end
Sourcemodule Feature : sig ... end

Optional language features / WebAssembly proposals.

Sourcemodule Message : sig ... end

A structured diagnostic message: prose that reflows at the target width, plus styled/quoted atoms and escape-hatch fragments that render an AST fragment (a type, an instruction) through the shared pretty-printer.

Sourcemodule Number_parsing : sig ... end
Sourcemodule Pager : sig ... end
Sourcemodule Printer : sig ... end
Sourcemodule Source_map : sig ... end
Sourcemodule Spell_check : sig ... end

Sound-alike and spell-checking utilities.

Sourcemodule Styled_printer : sig ... end

A pretty-printing context pairing a layout Printer.t with a colour Colors.theme and the Trivia (comments, blank lines) to weave back into the output. The styling and trivia plumbing is shared by the Wax and the WebAssembly printers, which wrap this context with their own format-specific state.

Sourcemodule Trivia : sig ... end

Parsing context for collecting comments and annotations.

Sourcemodule Uint32 : sig ... end

32-bit unsigned integers.

Sourcemodule Uint64 : sig ... end

64-bit unsigned integers.

Sourcemodule Unicode : sig ... end
Sourcemodule Unicode_widths : sig ... end
Sourcemodule V128 : sig ... end
Sourcemodule Warning : sig ... end

Named, groupable warnings whose reporting level is configurable.

Sourcemodule Xid : sig ... end

Unicode identifier character properties, from a table generated from uucp (see xid.ml, regenerated with dune build @src/lib-utils/regenerate-xid). Used to validate identifiers lexed by a coarse rule, so the strict XID classes stay out of the lexer's DFA.