class Cucumber::Core::Gherkin::AstBuilder::DocumentBuilder

def all_comments

def all_comments
  attributes[:comments].map do |comment|
    Ast::Comment.new(
      Ast::Location.new(file, comment[:location][:line]),
      comment[:text]
    )
  end
end