package ocaml-base-compiler
Official 4.06.0 release
Install
Dune Dependency
Authors
Maintainers
Sources
4.06.0.tar.gz
sha256=011879c913e8f988ecdac020b205e2baa4023052efed25013bdb9a6b0d5c6a80
md5=4f3906e581181c5435078ffe3e485e3f
doc/ocamlcommon/Pparse/index.html
Module Pparse
Driver for the parser, external preprocessors and ast plugin hooks
exception Error of error
type 'a ast_kind =
| Structure : Parsetree.structure ast_kind
| Signature : Parsetree.signature ast_kind
val read_ast : 'a ast_kind -> string -> 'a
val write_ast : 'a ast_kind -> string -> 'a -> unit
val file :
Format.formatter ->
tool_name:string ->
string ->
(Lexing.lexbuf -> 'a) ->
'a ast_kind ->
'a
val apply_rewriters :
?restore:bool ->
tool_name:string ->
'a ast_kind ->
'a ->
'a
If restore = true
(the default), cookies set by external rewriters will be kept for later calls.
val apply_rewriters_str :
?restore:bool ->
tool_name:string ->
Parsetree.structure ->
Parsetree.structure
val apply_rewriters_sig :
?restore:bool ->
tool_name:string ->
Parsetree.signature ->
Parsetree.signature
val report_error : Format.formatter -> error -> unit
val parse_implementation :
Format.formatter ->
tool_name:string ->
string ->
Parsetree.structure
val parse_interface :
Format.formatter ->
tool_name:string ->
string ->
Parsetree.signature
val open_and_check_magic : string -> string -> Pervasives.in_channel * bool
module ImplementationHooks : Misc.HookSig with type t = Parsetree.structure
module InterfaceHooks : Misc.HookSig with type t = Parsetree.signature
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>