1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package reason
-
reason
-
reason.cmdliner
-
reason.easy_format
-
reason.ocaml-migrate-parsetree
-
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type ast =
| Impl : (module Reason_omp__Migrate_parsetree_versions.OCaml_version
with type Ast.Parsetree.structure = 'concrete)
* 'concrete -> ast |
| Intf : (module Reason_omp__Migrate_parsetree_versions.OCaml_version
with type Ast.Parsetree.signature = 'concrete)
* 'concrete -> ast |
A marshalled ast packs the ast with the corresponding version of the frontend
val from_channel : in_channel -> ( filename * ast, read_error ) Result.result
Load a marshalled AST from a channel
Any exception raised during unmarshalling (see Marshal
) can escape.
val from_bytes : bytes -> int -> ( filename * ast, read_error ) Result.result
Load a marshalled AST from a byte string.
See from_channel
description for exception that can be raised.
val to_channel : out_channel -> filename -> ast -> unit
Marshal an AST to a channel