package pfff

  1. Overview
  2. Docs
Tools and APIs for program analysis, code visualization, refactoring

Install

Dune Dependency

Authors

Maintainers

Sources

0.39.3.tar.gz
md5=4d66e9bfbc4cca184d4b6c4db8b1ecd3
sha512=d6949417711a966adb706976de6db160a1c16389c90fa7f744024a23feaadfc319be126975ddb058213340bacceb868c669ef2087cdc69fde35209456759db1f

doc/pfff-lang_js/Lexer_js/index.html

Module Lexer_js

module Flag = Flag_parsing
module PI = Parse_info
val tok : Lexing.lexbuf -> string
val tokinfo : Lexing.lexbuf -> Parse_info.t
val error : string -> Lexing.lexbuf -> unit
val tok_add_s : string -> PI.t -> PI.t
val hexa_to_int : char -> int
val keyword_table : (string, Cst_js.tok -> Parser_js.token) Hashtbl.t
type state_mode =
  1. | ST_IN_CODE
  2. | ST_IN_XHP_TAG of string
  3. | ST_IN_XHP_TEXT of string
  4. | ST_IN_BACKQUOTE
val default_state : state_mode
val _mode_stack : state_mode list ref
val _last_non_whitespace_like_token : Parser_js.token option ref
val reset : unit -> unit
val current_mode : unit -> state_mode
val push_mode : state_mode -> unit
val pop_mode : unit -> unit
val set_mode : state_mode -> unit
val __ocaml_lex_tables : Lexing.lex_tables
val __ocaml_lex_initial_rec : Lexing.lexbuf -> int -> Parser_js.token
val string_escape : char -> Buffer.t -> Lexing.lexbuf -> unit
val __ocaml_lex_string_escape_rec : char -> Buffer.t -> Lexing.lexbuf -> int -> unit
val string_quote : char -> Buffer.t -> Lexing.lexbuf -> unit
val __ocaml_lex_string_quote_rec : char -> Buffer.t -> Lexing.lexbuf -> int -> unit
val backquote : Lexing.lexbuf -> Parser_js.token
val __ocaml_lex_backquote_rec : Lexing.lexbuf -> int -> Parser_js.token
val regexp : Buffer.t -> Lexing.lexbuf -> unit
val __ocaml_lex_regexp_rec : Buffer.t -> Lexing.lexbuf -> int -> unit
val regexp_class : Buffer.t -> Lexing.lexbuf -> unit
val __ocaml_lex_regexp_class_rec : Buffer.t -> Lexing.lexbuf -> int -> unit
val regexp_maybe_ident : Buffer.t -> Lexing.lexbuf -> unit
val __ocaml_lex_regexp_maybe_ident_rec : Buffer.t -> Lexing.lexbuf -> int -> unit
val st_comment : Buffer.t -> Lexing.lexbuf -> unit
val __ocaml_lex_st_comment_rec : Buffer.t -> Lexing.lexbuf -> int -> unit
val st_in_xhp_tag : string -> Lexing.lexbuf -> Parser_js.token
val __ocaml_lex_st_in_xhp_tag_rec : string -> Lexing.lexbuf -> int -> Parser_js.token
val st_in_xhp_text : string -> Lexing.lexbuf -> Parser_js.token
val __ocaml_lex_st_in_xhp_text_rec : string -> Lexing.lexbuf -> int -> Parser_js.token
val st_xhp_comment : Lexing.lexbuf -> string
val __ocaml_lex_st_xhp_comment_rec : Lexing.lexbuf -> int -> string
OCaml

Innovation. Community. Security.