mte/unikernel/duniverse/ppxlib/astlib/keyword.mli

8 lines
312 B
OCaml
Raw Normal View History

2025-11-11 02:07:51 +01:00
val is_keyword : string -> bool
(** Check if a string is an OCaml keyword. *)
val apply_keyword_edition : cli:string option -> unit -> unit
(** Processes any keywords= sections from the OCAMLPARAM environment variable
and CLI option and initialises the compiler's lexer with the correct keyword
set. *)