Module Token.CommentSource

Sourcetype t =
  1. | Lines of string list
    (*

    The following comment:

    ; abc ; def

    is represented as:

     Lines [ " abc"; " def" ] 
    *)
  2. | Legacy
    (*

    Legacy for jbuild files: either block comments or sexp comments. The programmer is responsible for fetching the comment contents using the location.

    *)
Sourceval to_dyn : t -> Stdune.Dyn.t