class Cucumber::Ast::Scenario
def accept(visitor)
def accept(visitor) return if Cucumber.wants_to_quit with_visitor(visitor) do visitor.visit_comment(@comment) unless @comment.empty? visitor.visit_tags(@tags) visitor.visit_scenario_name(@keyword, name, file_colon_line(@line), source_indent(first_line_length)) skip_invoke! if @background.failed? visitor.step_mother.with_hooks(self, skip_hooks?) do skip_invoke! if failed? visitor.visit_steps(@steps) end @executed = true end end