package lutin

  1. Overview
  2. Docs

SYNTAXE : analyse lexicale

la gestion des no de ligne est faite dans Lexeme pour éviter les dépendances bouclées entre Lexer et Parser

exception Lexical_error of string * int * int
val handle_lexical_error : (Stdlib.Lexing.lexbuf -> 'a) -> Stdlib.Lexing.lexbuf -> 'b
val keywords : (string, Lexeme.t -> LutParser.token) Stdlib.Hashtbl.t
val is_a_keyword : string -> (Lexeme.t -> LutParser.token) option
val token_code : LutParser.token -> string * Lexeme.t
val __ocaml_lex_tables : Stdlib.Lexing.lex_tables
val lexer : Stdlib.Lexing.lexbuf -> LutParser.token
val __ocaml_lex_lexer_rec : Stdlib.Lexing.lexbuf -> int -> LutParser.token
val comment_par_c : Stdlib.Lexing.lexbuf -> unit
val __ocaml_lex_comment_par_c_rec : Stdlib.Lexing.lexbuf -> int -> unit
val comment_par : Stdlib.Lexing.lexbuf -> unit
val __ocaml_lex_comment_par_rec : Stdlib.Lexing.lexbuf -> int -> unit
val comment_line : Stdlib.Lexing.lexbuf -> unit
val __ocaml_lex_comment_line_rec : Stdlib.Lexing.lexbuf -> int -> unit