2012-07-26 13:25:23 -04:00
|
|
|
module Mutant
|
|
|
|
# An abstract context where mutations can be appied to.
|
|
|
|
class Context
|
|
|
|
include Veritas::Immutable
|
2012-07-30 22:00:05 -04:00
|
|
|
extend 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-07-30 22:00:05 -04:00
|
|
|
abstract :root
|
2012-07-26 13:25:23 -04:00
|
|
|
end
|
|
|
|
end
|