Js_parser.Lex_env
module Sedlexing = Flow_sedlexing;
type t = {
lex_source: option(File_key.t),
lex_lb: Sedlexing.lexbuf,
lex_bol: bol,
lex_in_comment_syntax: bool,
lex_enable_comment_syntax: bool,
lex_state: lex_state,
lex_last_loc: Loc.t,
};
let empty_lex_state: lex_state;
let initial_last_loc: Loc.t;
let new_lex_env:
option(File_key.t) =>
Sedlexing.lexbuf =>
enable_types_in_comments:bool =>
t;
let lexbuf: t => Sedlexing.lexbuf;
let source: t => option(File_key.t);
let line: t => int;
let bol_offset: t => int;
let is_in_comment_syntax: t => bool;
let is_comment_syntax_enabled: t => bool;
let debug_string_of_lex_env: t => string;