Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val pp_token_location :
Ppx_deriving_runtime.Format.formatter ->
token_location ->
Ppx_deriving_runtime.unit
val show_token_location : token_location -> Ppx_deriving_runtime.string
val equal_token_location :
token_location ->
token_location ->
Ppx_deriving_runtime.bool
type token_origin =
| OriginTok of token_location
| FakeTokStr of string * (token_location * int) option
| ExpandedTok of token_location * token_location * int
| Ab
type t = token_mutable
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp_full_token_info : bool ref
val pp : Format.formatter -> t -> unit
type token_kind =
| LPar
| RPar
| LBrace
| RBrace
| LBracket
| RBracket
| LAngle
| RAngle
| Esthet of esthet
| Eof
| Other
exception Lexical_error of string * t
exception Parsing_error of t
exception Ast_builder_error of string * t
exception Other_error of string * t
val lexical_error : string -> Lexing.lexbuf -> unit
val tokinfo : Lexing.lexbuf -> t
val mk_info_of_loc : token_location -> t
val first_loc_of_file : Common.filename -> token_location
val tokinfo_str_pos : string -> int -> t
val fake_token_location : token_location
val is_fake : t -> bool
val is_origintok : t -> bool
val has_origin_loc : t -> bool
Either an OriginTok or a FakeTokStr associated with a real location.
val unsafe_fake_info : string -> t
val unsafe_sc : t
val fake_info_loc : token_location -> string -> t
val fake_bracket_loc : token_location -> 'a -> t * 'a * t
val sc_loc : token_location -> t
val str_of_info : t -> string
val line_of_info : t -> int
val col_of_info : t -> int
val pos_of_info : t -> int
val file_of_info : t -> Common.filename
val string_of_info : t -> string
val token_location_of_info : t -> (token_location, string) result
val unsafe_token_location_of_info : t -> token_location
val get_original_token_location : token_origin -> token_location
val abstract_info : t