Class Flx_lexstate.lexer_state


class lexer_state : string -> string -> string list -> object .. end

val comment_ctrl : comment_control
val file_ctrl : file_control
method adj : int -> unit
method append_comment : string -> unit
method comment_level : int
method decode : (string -> string) -> string -> string
method decr_comment : unit
method get_comment : string
method get_srcref : Lexing.lexbuf -> Flx_ast.srcref
method incr_comment : unit
method newline : Lexing.lexbuf -> unit
method set_comment : string -> unit
method is_at_line_start : bool
method inbody : unit
method string_of_srcref : Lexing.lexbuf -> string
method set_line : int -> unit
method set_filename : string -> unit
method get_incdirs : string list
method get_relative : string -> string
method get_absolute : string -> string
method get_condition : condition_t
method push_condition : condition_t -> unit
method pop_condition : unit
method set_condition : condition_t -> unit
method condition_stack_length : int
method store_macro : string -> string list -> Flx_parse.token list -> unit
method undef_macro : string -> unit
method get_macro : string -> (string list * Flx_parse.token list) option
method get_macros : (string, string list * Flx_parse.token list) Hashtbl.t
method add_macros : lexer_state -> unit
val mutable symbols : (string * (Flx_ast.srcref * string -> Flx_parse.token)) list array
method adjust_symbol_array : int -> unit
method add_symbol : int -> string -> string -> unit
val mutable keywords : (string * (Flx_ast.srcref * string -> Flx_parse.token)) list array
method get_keywords : (string * (Flx_ast.srcref * string -> Flx_parse.token)) list array
method adjust_keyword_array : int -> unit
method add_keyword_symbol : int -> string -> string -> unit
val mutable brackets : ((string * string) * string) list
method add_brackets : string -> string -> string -> unit
method tokenise_symbols : Lexing.lexbuf -> string -> Flx_parse.token list