module Cucumber::Parser::Feature::Scenario1
def at_line?(line)
def at_line?(line) scenario_keyword.line == line || steps.at_line?(line) || tags.at_line?(line) end
def build(background, filter)
def build(background, filter) Ast::Scenario.new( background, comment.build, tags.build, scenario_keyword.line, scenario_keyword.text_value, name.build, steps.build ) end
def matches_name?(regexp_to_match)
def matches_name?(regexp_to_match) name.build =~ regexp_to_match end
def matches_tags?(tag_expression)
def matches_tags?(tag_expression) feature_tag_names = self.parent.parent.tags.tag_names source_tag_names = (feature_tag_names + tags.tag_names).uniq tag_expression.eval(source_tag_names) end