Method: Mutant::Matcher::Compiler#result

Defined in:
lib/mutant/matcher/compiler.rb

#resultMatcher

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Generated matcher

Returns:



13
14
15
16
17
18
19
20
21
22
23
# File 'lib/mutant/matcher/compiler.rb', line 13

def result
  Filter.new(
    Chain.new(config.match_expressions.map(&:matcher)),
    Morpher::Evaluator::Predicate::Boolean::And.new(
      [
        ignored_subjects,
        filtered_subjects
      ]
    )
  )
end