Module Js_parser.Lex_result

type t = {
  1. lex_token: Token.t,
  2. lex_loc: Loc.t,
  3. lex_errors: list((Loc.t, Parse_error.t)),
  4. lex_comments: list(Flow_ast.Comment.t(Loc.t)),
};
let token: t => Token.t;
let loc: t => Loc.t;
let comments: t => list(Flow_ast.Comment.t(Loc.t));
let errors: t => list((Loc.t, Parse_error.t));
let debug_string_of_lex_result: t => string;