mpp
A preprocessor meant to blend languages.
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library mpp
val open_token : string ref
val close_token : string ref
val open_nesting_token : string ref
val close_nesting_token : string ref
val endline_comments_token : string ref
val open_comments_token : string ref
val close_comments_token : string ref
val open_foreign_token : string ref
val open_foreign_token_no_location : string ref
val close_foreign_token : string ref
val target_language_location_handler :
( ?filename:string -> int -> string ) ref
val newline_chars : Mpp_charset.t
val space_chars : Mpp_charset.t
val blank_chars : Mpp_charset.t
type foreign_block_description = {
name : string; |
command : string; |
suffix : string; |
print : string -> string; |
char_escape : char -> string; |
string_escape : string -> string; |
force_line_number : ?filename:string -> int -> string; |
}
foreign blocks
val foreign_blocks : foreign_block_description list
val default_foreign_block : foreign_block_description
val foreign : foreign_block_description ref