package libsail

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Libsail.FrontendSource

Sourceval opt_ddump_initial_ast : bool ref
Sourceval opt_ddump_tc_ast : bool ref
Sourceval opt_list_files : bool ref
Sourceval opt_reformat : string option ref
Sourcemodule type FILE_HANDLER = sig ... end

The FILE_HANDLER module type allows plugins to define handlers for custom file types. It defines how those files are processed and eventually generate Sail AST types.

Sourceval register_file_handler : extension:string -> (module FILE_HANDLER) -> unit

Register a file handler module. The extension should be the extension for the file type we want to handle, e.g. ".json".

OCaml

Innovation. Community. Security.