Js_parser.Flow_sedlexingThis is a module provides the minimal Sedlexing suppport It is mostly a subset of Sedlexing with two functions for performance reasons:
val from_int_array : int array -> lexbufval new_line : lexbuf -> unitval mark : lexbuf -> int -> unitval start : lexbuf -> unitval backtrack : lexbuf -> intval rollback : lexbuf -> unitval lexeme_start : lexbuf -> intval lexeme_end : lexbuf -> intval loc : lexbuf -> int * intval lexeme_length : lexbuf -> intval sub_lexeme : lexbuf -> int -> int -> int arrayval lexeme : lexbuf -> int arraymodule Utf8 : sig ... endval current_code_point : lexbuf -> intTwo APIs used when we want to do customize lexing instead of using the regex based engine
val backoff : lexbuf -> int -> unitval set_lexeme_start : lexbuf -> int -> unit