free_mutant/lib/mutant/context.rb
2015-11-15 23:13:43 +00:00

19 lines
422 B
Ruby

module Mutant
# An abstract context where mutations can be applied to.
class Context
include Adamantium::Flat, AbstractType, Concord::Public.new(:source_path)
# Root ast node
#
# @param [Parser::AST::Node] node
#
# @return [Parser::AST::Node]
abstract_method :root
# Identification string
#
# @return [String]
abstract_method :identification
end # Context
end # Mutant