17 lines
319 B
Ruby
17 lines
319 B
Ruby
module Mutant
|
|
# An abstract context where mutations can be appied to.
|
|
class Context
|
|
include Immutable
|
|
extend Abstract
|
|
|
|
# Return root ast for mutated node
|
|
#
|
|
# @param [Rubinius::AST::Node] node
|
|
#
|
|
# @return [Rubinis::AST::Script]
|
|
#
|
|
# @api private
|
|
#
|
|
abstract :root
|
|
end
|
|
end
|