package pfff

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.39.4.tar.gz
md5=9aabf597b6de59ced5a3ecfadb1c9a13
sha512=8f4762840b8de0a76a8cbd972e6a4babd7b17e3830b65b5eaff017711bd247f88a29d04d64b6bd31fa3610d5e045bb48ddaaf58b279fcac19a1c53590f0b411e

doc/pfff-lang_python/Lexer_python/index.html

Module Lexer_python

module PI = Parse_info
module Flag = Flag_parsing
val tok : Lexing.lexbuf -> string
val tokinfo : Lexing.lexbuf -> Parse_info.t
val error : string -> Lexing.lexbuf -> unit
val unescaped : string -> string
val count_lines : string -> int
type state_mode =
  1. | STATE_TOKEN
  2. | STATE_OFFSET
  3. | STATE_UNDERSCORE_TOKEN
type lexer_state = {
  1. mutable curr_offset : int;
  2. offset_stack : int Stack.t;
  3. mutable nl_ignore : int;
  4. mutable mode : state_mode;
}
val create : unit -> lexer_state
val ignore_nl : lexer_state -> unit
val aware_nl : lexer_state -> unit
val __ocaml_lex_tables : Lexing.lex_tables
val __ocaml_lex_token_rec : lexer_state -> Lexing.lexbuf -> int -> Parser_python.token
val offset : lexer_state -> Lexing.lexbuf -> string
val __ocaml_lex_offset_rec : lexer_state -> Lexing.lexbuf -> int -> string
val __ocaml_lex__token_rec : lexer_state -> Lexing.lexbuf -> int -> Parser_python.token
val __ocaml_lex_sq_shortstrlit_rec : lexer_state -> Parse_info.t -> Lexing.lexbuf -> int -> Parser_python.token
val __ocaml_lex_sq_longstrlit_rec : lexer_state -> Parse_info.t -> Lexing.lexbuf -> int -> Parser_python.token
val __ocaml_lex_dq_shortstrlit_rec : lexer_state -> Parse_info.t -> Lexing.lexbuf -> int -> Parser_python.token
val __ocaml_lex_dq_longstrlit_rec : lexer_state -> Parse_info.t -> Lexing.lexbuf -> int -> Parser_python.token
OCaml

Innovation. Community. Security.