package pfff

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Ast = Cst_php
module Flag = Flag_parsing
module Flag_php = Flag_parsing_php
module PI = Parse_info
exception Lexical of string
val error : string -> unit
val yyback : int -> Lexing.lexbuf -> unit
val tok : Lexing.lexbuf -> string
val tokinfo : Lexing.lexbuf -> PI.t
val tok_add_s : string -> PI.t -> PI.t
val case_str : string -> string
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 =
  1. | INITIAL
  2. | ST_IN_SCRIPTING
  3. | ST_IN_SCRIPTING2
  4. | ST_DOUBLE_QUOTES
  5. | ST_BACKQUOTE
  6. | ST_LOOKING_FOR_PROPERTY
  7. | ST_LOOKING_FOR_VARNAME
  8. | ST_VAR_OFFSET
  9. | ST_START_HEREDOC of string
  10. | ST_START_NOWDOC of string
  11. | ST_IN_XHP_TAG of Cst_php.xhp_tag
  12. | 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 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 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 __ocaml_lex_tables : Stdlib.Lexing.lex_tables
val st_in_scripting : Lexing.lexbuf -> Parser_php.token
val __ocaml_lex_st_in_scripting_rec : Lexing.lexbuf -> int -> 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 __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