Approx_lexer
include module type of struct include Approx_tokens end
type token = Approx_tokens.token =
| AMPERAMPER |
| AMPERSAND |
| AND |
| AS |
| ASSERT |
| BACKQUOTE |
| BANG |
| BAR |
| BARBAR |
| BARRBRACKET |
| BEGIN |
| CHAR of char overflow |
| CLASS |
| COLON |
| COLONCOLON |
| COLONEQUAL |
| COLONGREATER |
| COMMA |
| COMMENT |
| OCAMLDOC_CODE |
| OCAMLDOC_VERB |
| COMMENTCONT |
| CONSTRAINT |
| DO |
| DONE |
| DOT |
| DOTDOT |
| DOWNTO |
| ELSE |
| END |
| EOF |
| EQUAL |
| EXCEPTION |
| EXTERNAL |
| FALSE |
| FLOAT of string |
| FOR |
| FUN |
| FUNCTION |
| FUNCTOR |
| GREATER |
| GREATERRBRACE |
| GREATERRBRACKET |
| IF |
| ILLEGAL_CHAR of char |
| IN |
| INCLUDE |
| INFIXOP0 of string |
| INFIXOP1 of string |
| INFIXOP2 of string |
| INFIXOP3 of string |
| INFIXOP4 of string |
| INHERIT |
| INITIALIZER |
| INT of int overflow |
| INT32 of int32 overflow |
| INT64 of int64 overflow |
| LABEL of string |
| LAZY |
| LBRACE |
| LBRACELESS |
| LBRACKET |
| LBRACKETBAR |
| LBRACKETLESS |
| LBRACKETGREATER |
| LBRACKETPERCENT |
| LBRACKETPERCENTPERCENT |
| LBRACKETAT |
| LBRACKETATAT |
| LBRACKETATATAT |
| LESS |
| LESSMINUS |
| LET |
| LIDENT of string |
| LINE_DIRECTIVE |
| LPAREN |
| MATCH |
| METHOD |
| MINUS |
| MINUSDOT |
| MINUSGREATER |
| MODULE |
| MUTABLE |
| NATIVEINT of nativeint overflow |
| NEW |
| OBJECT |
| OF |
| OPEN |
| OPTLABEL of string |
| OR |
| PLUS |
| PLUSDOT |
| PREFIXOP of string |
| PRIVATE |
| QUESTION |
| QUESTIONQUESTION |
| QUOTATION of string |
| QUOTE |
| RBRACE |
| RBRACKET |
| REC |
| RPAREN |
| SEMI |
| SEMISEMI |
| SHARP |
| SIG |
| STAR |
| STRING of string |
| STRUCT |
| THEN |
| TILDE |
| TO |
| TRUE |
| TRY |
| TYPE |
| UIDENT of string |
| UNDERSCORE |
| VAL |
| VIRTUAL |
| WHEN |
| WHILE |
| WITH |
| EOL |
| SPACES |
val to_string : token -> string
val keywords : (string * token) list
val keyword_table : (string, token) Stdlib.Hashtbl.t
val lexer_extensions : (Stdlib.Lexing.lexbuf -> Approx_tokens.token) list Stdlib.ref
val comment_stack : in_comment list Stdlib.ref
val close_comment : unit -> token
val can_overflow : (string -> 'a) -> Stdlib.Lexing.lexbuf -> 'a overflow
val parse_token : Stdlib.Lexing.lexbuf -> token
val __ocaml_lex_parse_token_rec : Stdlib.Lexing.lexbuf -> int -> token
val quotation : Stdlib.Lexing.lexbuf -> token
val __ocaml_lex_quotation_rec : Stdlib.Lexing.lexbuf -> int -> token
val comment : Stdlib.Lexing.lexbuf -> token
val __ocaml_lex_comment_rec : Stdlib.Lexing.lexbuf -> int -> token
val verbatim : Stdlib.Lexing.lexbuf -> token
val __ocaml_lex_verbatim_rec : Stdlib.Lexing.lexbuf -> int -> token
val string : Stdlib.Lexing.lexbuf -> token
val __ocaml_lex_string_rec : Stdlib.Lexing.lexbuf -> int -> token
val token_locs : Stdlib.Lexing.lexbuf -> token * (Stdlib.Lexing.position * Stdlib.Lexing.position)
val token_pos : Stdlib.Lexing.lexbuf -> token * (int * int)
val token_locs_and_comments : Stdlib.Lexing.lexbuf -> token * (Stdlib.Lexing.position * Stdlib.Lexing.position)
val get_token : Stdlib.Lexing.lexbuf -> token
val token_with_comments : Stdlib.Lexing.lexbuf -> token
val token : Stdlib.Lexing.lexbuf -> token
val tokens_of_file : string -> (token * (int * int)) list
val tokens_with_loc_of_string : string -> (token * (int * int)) list
val tokens_of_string : string -> token list