module Cucumber::Parser::Feature::Background1

def at_line?(line)

def at_line?(line)
  background_keyword.line == line ||
  steps.at_line?(line)
end

def build

def build
  Ast::Background.new(
    comment.build, 
    background_keyword.line,
    background_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_names)

def matches_tags?(tag_names)
  Ast::Tags.matches?(self.parent.tags.tag_names, tag_names)
end