package pfff
Tools and APIs for program analysis, code visualization, refactoring
Install
Dune Dependency
Authors
Maintainers
Sources
0.37.7.tar.gz
md5=d069f379342be72574b4cdc52f4ed9b4
sha512=68e9971364f5e016bad8f94bb72fd15252f19c7964424992309cdb4a9fc922dbe15d07619f500f4bcbc72f820c93d4da20f0759bb4276cd073a29a179bef9300
doc/pfff-h_program-lang/Parse_info/index.html
Module Parse_info
type token_origin =
| OriginTok of token_location
| FakeTokStr of string * (token_location * int) option
| ExpandedTok of token_location * token_location * int
| Ab
type info = token_mutable
type token_kind =
| LPar
| RPar
| LBrace
| RBrace
| LBracket
| RBracket
| LAngle
| RAngle
| Esthet of esthet
| Eof
| Other
val fake_token_location : token_location
val fake_info : string -> info
val str_of_info : info -> string
val line_of_info : info -> int
val col_of_info : info -> int
val pos_of_info : info -> int
val file_of_info : info -> Common.filename
val string_of_info : info -> string
val is_origintok : info -> bool
val token_location_of_info : info -> token_location
val get_original_token_location : token_origin -> token_location
type parsing_stat = {
filename : Common.filename;
mutable correct : int;
mutable bad : int;
mutable have_timeout : bool;
mutable commentized : int;
mutable problematic_lines : (string list * int) list;
}
val default_stat : Common.filename -> parsing_stat
val print_parsing_stat_list : ?verbose:bool -> parsing_stat list -> unit
val print_recurring_problematic_tokens : parsing_stat list -> unit
val mk_tokens_state : 'tok list -> 'tok tokens_state
val tokinfo_str_pos : string -> int -> info
val lexbuf_to_strpos : Lexing.lexbuf -> string * int
val full_charpos_to_pos_large : Common.filename -> int -> int * int
val complete_token_location_large :
Common.filename ->
(int -> int * int) ->
token_location ->
token_location
val error_message : Common.filename -> (string * int) -> string
val error_message_info : info -> string
type changen = unit -> in_channel * int * Common.filename
val file_wrap_changen : (changen -> 'a) -> Common.filename -> 'a
val full_charpos_to_pos_large_from_changen : changen -> int -> int * int
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>