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