
* Use MethodObject mixin * Rename Context::Constant to Context::Scope * Use Mutation class instead of passing around raw nodes
25 lines
368 B
Ruby
25 lines
368 B
Ruby
module Mutant
|
|
# Abstract matcher to find ASTs to mutate
|
|
class Matcher
|
|
include Enumerable, Abstract
|
|
|
|
# Enumerate subjects
|
|
#
|
|
# @api private
|
|
#
|
|
# @return [undefined]
|
|
#
|
|
abstract_method :each
|
|
|
|
# Return identification
|
|
#
|
|
# @return [String
|
|
#
|
|
# @api private
|
|
#
|
|
abstract_method :identification
|
|
|
|
private
|
|
|
|
end
|
|
end
|