package pfff

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type comment =
  1. | DocBlock of string list * bool
  2. | MultiLineSlashStar of string list
  3. | SingleLineSlashStar of string
  4. | SingleLineSlashSlash of string
  5. | OtherStyle of string
val strip_comment_marks : string -> string
val parse_comment : string -> comment
val unparse_comment : ?indent:int -> comment -> string
val comment_style_new_line : comment -> string
val index_comment : comment -> (int * string) list
val comments_of_file : Common.filename -> Cst_php.info list
val comment_before : Cst_php.tok -> Parser_php.token list -> Cst_php.tok option
val comment_after : Cst_php.tok -> Parser_php.token list -> Cst_php.tok option