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) Stdlib.format -> 'a
val buf : Stdlib.Buffer.t
val fail : Stdlib.Lexing.lexbuf -> string -> 'a
val init_lexer_pos : string option -> Stdlib.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 Stdlib.ref
val __ocaml_lex_tables : Stdlib.Lexing.lex_tables
val main : Stdlib.Lexing.lexbuf -> Jg_parser.token
val __ocaml_lex_main_rec : Stdlib.Lexing.lexbuf -> int -> Jg_parser.token
val main_bis : Stdlib.Lexing.lexbuf -> Jg_parser.token
val __ocaml_lex_main_bis_rec : Stdlib.Lexing.lexbuf -> int -> Jg_parser.token
val comment : Stdlib.Lexing.lexbuf -> Jg_parser.token
val __ocaml_lex_comment_rec : Stdlib.Lexing.lexbuf -> int -> Jg_parser.token
val raw : Stdlib.Lexing.lexbuf -> Jg_parser.token
val __ocaml_lex_raw_rec : Stdlib.Lexing.lexbuf -> int -> Jg_parser.token
val string_literal : char -> Stdlib.Lexing.lexbuf -> Jg_parser.token
val __ocaml_lex_string_literal_rec : char -> Stdlib.Lexing.lexbuf -> int -> Jg_parser.token
OCaml

Innovation. Community. Security.