package pfff
Tools and APIs for program analysis, code visualization, refactoring
Install
Dune Dependency
Authors
Maintainers
Sources
0.39.5.tar.gz
md5=e23dbd320a8681b74315162a02bf97a7
sha512=2998432bcd6d9a459331d733c4446d35459d42787fcf2fd332d3ec5131a4d358bb8f060b45d38696bcd584e1eaa8c1b21b82d7d3005e83c1ecefd22fec842ee7
doc/pfff-lang_php/Lexer_php/index.html
Module Lexer_php
module Ast = Cst_php
module Flag = Flag_parsing
module Flag_php = Flag_parsing_php
module PI = Parse_info
val yyback : int -> Lexing.lexbuf -> unit
val tok : Lexing.lexbuf -> string
val tokinfo : Lexing.lexbuf -> PI.t
val xhp_or_t_ident : PI.t -> (PI.t -> Parser_php.token) -> Parser_php.token
val lang_ext_or_t_ident :
PI.t ->
(PI.t -> Parser_php.token) ->
Parser_php.token
val keyword_table : (string, Cst_php.info -> Parser_php.token) Hashtbl.t
type state_mode =
| INITIAL
| ST_IN_SCRIPTING
| ST_IN_SCRIPTING2
| ST_DOUBLE_QUOTES
| ST_BACKQUOTE
| ST_LOOKING_FOR_PROPERTY
| ST_LOOKING_FOR_VARNAME
| ST_VAR_OFFSET
| ST_START_HEREDOC of string
| ST_START_NOWDOC of string
| ST_IN_XHP_TAG of Cst_php.xhp_tag
| ST_IN_XHP_TEXT of Cst_php.xhp_tag
val default_state : state_mode
val _mode_stack : state_mode list ref
val _pending_tokens : Parser_php.token list ref
val _last_non_whitespace_like_token : Parser_php.token option ref
val current_mode : unit -> state_mode
val push_mode : state_mode -> unit
val set_mode : state_mode -> unit
val push_token : Parser_php.token -> unit
val is_in_binary_operator_position : Parser_php.token option -> bool
val lang_ext_or_cast : Parser_php.token -> Lexing.lexbuf -> Parser_php.token
val st_in_scripting : Lexing.lexbuf -> Parser_php.token
val __ocaml_lex_st_in_scripting_rec : Lexing.lexbuf -> int -> Parser_php.token
val initial : Lexing.lexbuf -> Parser_php.token
val __ocaml_lex_initial_rec : Lexing.lexbuf -> int -> Parser_php.token
val st_looking_for_property : Lexing.lexbuf -> Parser_php.token
val __ocaml_lex_st_looking_for_property_rec :
Lexing.lexbuf ->
int ->
Parser_php.token
val st_looking_for_varname : Lexing.lexbuf -> Parser_php.token
val __ocaml_lex_st_looking_for_varname_rec :
Lexing.lexbuf ->
int ->
Parser_php.token
val st_var_offset : Lexing.lexbuf -> Parser_php.token
val __ocaml_lex_st_var_offset_rec : Lexing.lexbuf -> int -> Parser_php.token
val st_double_quotes : Lexing.lexbuf -> Parser_php.token
val __ocaml_lex_st_double_quotes_rec : Lexing.lexbuf -> int -> Parser_php.token
val st_backquote : Lexing.lexbuf -> Parser_php.token
val __ocaml_lex_st_backquote_rec : Lexing.lexbuf -> int -> Parser_php.token
val st_start_heredoc : string -> Lexing.lexbuf -> Parser_php.token
val __ocaml_lex_st_start_heredoc_rec :
string ->
Lexing.lexbuf ->
int ->
Parser_php.token
val st_start_nowdoc : string -> Lexing.lexbuf -> Parser_php.token
val __ocaml_lex_st_start_nowdoc_rec :
string ->
Lexing.lexbuf ->
int ->
Parser_php.token
val st_in_xhp_tag : Cst_php.xhp_tag -> Lexing.lexbuf -> Parser_php.token
val __ocaml_lex_st_in_xhp_tag_rec :
Cst_php.xhp_tag ->
Lexing.lexbuf ->
int ->
Parser_php.token
val st_in_xhp_text : string list -> Lexing.lexbuf -> Parser_php.token
val __ocaml_lex_st_in_xhp_text_rec :
string list ->
Lexing.lexbuf ->
int ->
Parser_php.token
val st_xhp_comment : Lexing.lexbuf -> string
val __ocaml_lex_st_xhp_comment_rec : Lexing.lexbuf -> int -> string
val st_comment : Lexing.lexbuf -> string
val __ocaml_lex_st_comment_rec : Lexing.lexbuf -> int -> string
val st_one_line_comment : Lexing.lexbuf -> string
val __ocaml_lex_st_one_line_comment_rec : Lexing.lexbuf -> int -> string
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>