free_mutant/lib/mutant/context.rb

26 lines
491 B
Ruby
Raw Normal View History

module Mutant
# An abstract context where mutations can be applied to.
class Context
include Adamantium::Flat, AbstractType, Concord::Public.new(:source_path)
# Return root ast node
#
# @param [Parser::AST::Node] node
2013-01-13 22:26:31 +01:00
#
# @return [Parser::AST::Node]
#
# @api private
#
abstract_method :root
2012-08-14 12:26:56 +02:00
2013-01-13 22:27:03 +01:00
# Return identification
#
# @return [String]
#
# @api private
#
abstract_method :identification
2013-06-14 20:54:02 +02:00
end # Context
end # Mutant