You can search for identifiers within the package.
in-package search v0.2.0
ocamlformat-lib
Ocamlformat_lib.Syntax
type t =
| Structure
| Signature
| Use_file
| Core_type
| Module_type
| Expression
| Repl_file
| Documentation
val of_fname : Ocamlformat_stdlib.string -> t Ocamlformat_stdlib.option
The expected syntax of a file given its name.