free_mutant/lib/mutant/context.rb

24 lines
472 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)
# Root ast node
#
# @param [Parser::AST::Node] node
2013-01-13 16:26:31 -05:00
#
# @return [Parser::AST::Node]
#
# @api private
abstract_method :root
2012-08-14 06:26:56 -04:00
# Identification string
2013-01-13 16:27:03 -05:00
#
# @return [String]
#
# @api private
abstract_method :identification
2013-06-14 14:54:02 -04:00
end # Context
end # Mutant