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_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.