def scenario_outline(statement)
scenario_outline = Ast::ScenarioOutline.new(
@background,
Ast::Comment.new(statement.comments.map{|comment| comment.value}.join("\n")),
Ast::Tags.new(nil, statement.tags.map{|tag| tag.name}),
statement.line,
statement.keyword,
statement.name,
statement.description,
steps=[],
example_sections=[]
)
@feature.add_feature_element(scenario_outline)
if @background
@background = @background.dup
@background.feature_elements << scenario_outline
end
@step_container = scenario_outline
scenario_outline.gherkin_statement(statement)
end