ppxlib
A comprehensive toolbox for ppx development. It features:
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 ppxlib.ast
type error =
| Illegal_character of char |
| Illegal_escape of string |
| Unterminated_comment of Warnings.loc |
| Unterminated_string |
| Unterminated_string_in_comment of Warnings.loc * Warnings.loc |
| Keyword_as_label of string |
| Invalid_literal of string |
| Invalid_directive of string * string option |
exception Error of error * Warnings.loc
val keyword_table : ( string, Parser.token ) Hashtbl.t
val string_buff : bytes ref
val string_index : int ref
val store_lexeme : Lexing.lexbuf -> unit
val string_start_loc : Warnings.loc ref
val comment_start_loc : Warnings.loc list ref
val is_in_string : bool ref
val print_warnings : bool ref
val store_escaped_char : Lexing.lexbuf -> char -> unit
val with_comment_buffer :
( Lexing.lexbuf -> Warnings.loc ) ->
Lexing.lexbuf ->
string * Warnings.loc
val char_for_decimal_code : Lexing.lexbuf -> int -> char
val char_for_octal_code : Lexing.lexbuf -> int -> char
val char_for_hexadecimal_code : Lexing.lexbuf -> int -> char
val get_label_name : Lexing.lexbuf -> string
val update_loc : Lexing.lexbuf -> string option -> int -> bool -> int -> unit
val preprocessor :
(( unit ->
unit )
* ( ( Lexing.lexbuf -> Parser.token ) ->
Lexing.lexbuf ->
Parser.token ))
option
ref
val escaped_newlines : bool ref
val warn_latin1 : Lexing.lexbuf -> unit
val handle_docstrings : bool ref
val comment_list : (string * Warnings.loc) list ref
val add_comment : (string * Warnings.loc) -> unit
val add_docstring_comment : Docstrings.docstring -> unit
val comments : unit -> (string * Warnings.loc) list
val report_error : Format.formatter -> error -> unit
val __ocaml_lex_token_rec : Lexing.lexbuf -> int -> Parser.token
val comment : Lexing.lexbuf -> Warnings.loc
val __ocaml_lex_comment_rec : Lexing.lexbuf -> int -> Warnings.loc
val string : Lexing.lexbuf -> unit
val __ocaml_lex_string_rec : Lexing.lexbuf -> int -> unit
val quoted_string : string -> Lexing.lexbuf -> unit
val __ocaml_lex_quoted_string_rec : string -> Lexing.lexbuf -> int -> unit
val skip_hash_bang : Lexing.lexbuf -> unit
val __ocaml_lex_skip_hash_bang_rec : Lexing.lexbuf -> int -> unit
val token_with_comments : Lexing.lexbuf -> Parser.token
and docstring = Docstrings.docstring
val token : Lexing.lexbuf -> Parser.token
val set_preprocessor :
( unit -> unit ) ->
( ( Lexing.lexbuf -> Parser.token ) -> Lexing.lexbuf -> Parser.token ) ->
unit