2012-07-23 22:54:35 +02:00
|
|
|
module Mutant
|
2012-07-26 19:25:23 +02:00
|
|
|
# Abstract matcher to find ASTs to mutate
|
2012-07-23 22:54:35 +02:00
|
|
|
class Matcher
|
2012-08-03 01:28:15 +02:00
|
|
|
include Enumerable, Abstract
|
2012-07-23 22:54:35 +02:00
|
|
|
|
2012-08-01 18:34:03 +02:00
|
|
|
# Enumerate subjects
|
2012-07-23 22:54:35 +02:00
|
|
|
#
|
|
|
|
# @api private
|
|
|
|
#
|
2012-07-24 01:41:08 +02:00
|
|
|
# @return [undefined]
|
|
|
|
#
|
2012-08-03 01:28:15 +02:00
|
|
|
abstract_method :each
|
2012-07-26 19:25:23 +02:00
|
|
|
|
2012-08-16 04:10:54 +02:00
|
|
|
# Return identification
|
|
|
|
#
|
|
|
|
# @return [String
|
|
|
|
#
|
|
|
|
# @api private
|
|
|
|
#
|
|
|
|
abstract_method :identification
|
|
|
|
|
2012-07-26 19:25:23 +02:00
|
|
|
private
|
|
|
|
|
2012-07-23 22:54:35 +02:00
|
|
|
end
|
|
|
|
end
|