Comment_attachment.comment_bounds_collector
constraint 'a = Js_parser.Loc.t
inherit Js_parser.Flow_ast_mapper.mapper
val mutable first_leading : (Js_parser.Loc.t * Js_parser__Flow_ast.Comment.t')
option
val mutable last_trailing : (Js_parser.Loc.t * Js_parser__Flow_ast.Comment.t')
option
method comment_bounds : 'a comment_bounds_collector ->
(Js_parser.Loc.t * Js_parser__Flow_ast.Comment.t') option
* (Js_parser.Loc.t * Js_parser__Flow_ast.Comment.t') option
method collect_comments : 'b ->
'internal. (Js_parser.Loc.t, 'internal) Js_parser.Flow_ast.Syntax.t ->
unit
method collect_comments_opt : 'b ->
(Js_parser.Loc.t, Js_parser.Loc.t Js_parser__Flow_ast.Comment.t list)
Js_parser.Flow_ast.Syntax.t
option ->
unit
method visit_leading_comment : 'b ->
Js_parser.Loc.t Js_parser__Flow_ast.Comment.t ->
unit
method visit_trailing_comment : 'b ->
Js_parser.Loc.t Js_parser__Flow_ast.Comment.t ->
unit
method syntax : 'b ->
'internal. (Js_parser.Loc.t, 'internal)
Js_parser.Flow_ast_mapper.Ast.Syntax.t ->
(Js_parser.Loc.t, 'internal) Js_parser.Flow_ast_mapper.Ast.Syntax.t