Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7eeea769d5
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (17 sloc) 0.666 kb
\section{Style preserving unparsing}
% need program2, with the tokens, or at least
% having the comments embeded in pinfo
(* this does not maintain comments and space but maintain the newlines *)
val string_of_program2: Parse_php.program2 -> string
(* does not maintain comments or space *)
val string_of_any: Ast_php.any -> string
val string_of_expr: Ast_php.expr -> string
val string_of_infos: list -> string
(* preserve space and comments and handle the transfo annotation
* (this function is called by spatch)
val string_of_program2_using_transfo:
Parse_php.program2 -> string
Jump to Line
Something went wrong with that request. Please try again.