Module Annotation_js

type annotation =
  1. | ProvidesModule of Module_pre_es6.module_
  2. | ProvidesLegacy of Module_pre_es6.module_
  3. | RunWhenReady
  4. | Other of string
val annotations_of_program_with_comments : Parse_js.program_and_tokens -> (annotation * Parse_info.t) list
val extract_annotations : string -> annotation list