2012-07-26 13:25:23 -04:00
|
|
|
module Mutant
|
|
|
|
# An abstract context where mutations can be appied to.
|
|
|
|
class Context
|
2012-08-02 19:28:15 -04:00
|
|
|
include Immutable, Abstract
|
2012-07-26 13:25:23 -04:00
|
|
|
|
|
|
|
# Return root ast for mutated node
|
|
|
|
#
|
|
|
|
# @param [Rubinius::AST::Node] node
|
|
|
|
#
|
|
|
|
# @return [Rubinis::AST::Script]
|
|
|
|
#
|
|
|
|
# @api private
|
|
|
|
#
|
2012-08-02 19:28:15 -04:00
|
|
|
abstract_method :root
|
2012-07-26 13:25:23 -04:00
|
|
|
end
|
|
|
|
end
|