package jingoo

  1. Overview
  2. Docs
type lexer_mode = [
  1. | `Logic
  2. | `Html
]
type lexer_context = {
  1. mutable mode : lexer_mode;
  2. mutable terminator : string option;
  3. mutable token_required : bool;
}
val ctx : lexer_context
val (@@) : ('a -> 'b) -> 'a -> 'b
val spf : ('a, unit, string) format -> 'a
val buf : Buffer.t
val fail : Lexing.lexbuf -> string -> 'a
val init_lexer_pos : string option -> Lexing.lexbuf -> unit
val update_context : lexer_mode -> string option -> unit
val reset_context : unit -> unit
val get_buf : unit -> string
val add_char : char -> unit
val add_str : string -> unit
val token_or_str : (string * 'a) -> ('b -> 'a) -> 'b -> 'a
val token_or_char : (char * 'a) -> ('b -> 'a) -> 'b -> 'a
val queue : Jg_parser.token list ref
val __ocaml_lex_tables : Stdlib.Lexing.lex_tables
val __ocaml_lex_main_rec : Lexing.lexbuf -> int -> Jg_parser.token
val main_bis : Lexing.lexbuf -> Jg_parser.token
val __ocaml_lex_main_bis_rec : Lexing.lexbuf -> int -> Jg_parser.token
val __ocaml_lex_comment_rec : Lexing.lexbuf -> int -> Jg_parser.token
val __ocaml_lex_raw_rec : Lexing.lexbuf -> int -> Jg_parser.token
val string_literal : char -> Lexing.lexbuf -> Jg_parser.token
val __ocaml_lex_string_literal_rec : char -> Lexing.lexbuf -> int -> Jg_parser.token
OCaml

Innovation. Community. Security.