package pfff

  1. Overview
  2. Docs
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/Parse_php/index.html

Module Parse_php

type program_with_comments = Cst_php.program * Parser_php.token list
exception Parse_error of Parse_info.t
val parse : ?pp:string option -> Common.filename -> program_with_comments * Parse_info.parsing_stat
val parse_program : ?pp:string option -> Common.filename -> Cst_php.program
val ast_and_tokens : Common.filename -> Cst_php.program * Parser_php.token list
val parse_any : Common.filename -> Cst_php.any
val parse_fast : Common.filename -> Cst_php.program
val xdebug_expr_of_string : string -> Cst_php.expr
val expr_of_string : string -> Cst_php.expr
val program_of_string : string -> Cst_php.program
val tokens_of_string : string -> Parser_php.token list
val any_of_string : string -> Cst_php.any
val tmp_php_file_from_string : ?header:string -> string -> Common.filename
val tokens : ?init_state:Lexer_php.state_mode -> Common.filename -> Parser_php.token list
OCaml

Innovation. Community. Security.