Sha256: c66dc749529c9475fbcc17cc932a630859c7e4ded67d7914e8b4bef58afb9657

Contents?: true

Size: 597 Bytes

Versions: 18

Compression:

Stored size: 597 Bytes

Contents

module Mutant
  # An abstract context where mutations can be appied to.
  class Context
    include Adamantium::Flat, AbstractType

    # Return root ast node
    #
    # @return [Rubinis::AST::Script]
    #
    # @api private
    #
    abstract_method :root

    # Return source path
    #
    # @return [String]
    #
    # @api private
    #
    attr_reader :source_path

  private

    # Initialize context
    #
    # @param [String] source_path
    #
    # @return [undefined]
    #
    # @api private
    #
    def initialize(source_path)
      @source_path = source_path
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
mutant-0.2.20 lib/mutant/context.rb
mutant-0.2.17 lib/mutant/context.rb
mutant-0.2.16 lib/mutant/context.rb
mutant-0.2.15 lib/mutant/context.rb
mutant-0.2.14 lib/mutant/context.rb
mutant-0.2.13 lib/mutant/context.rb
mutant-0.2.12 lib/mutant/context.rb
mutant-0.2.11 lib/mutant/context.rb
mutant-0.2.9 lib/mutant/context.rb
mutant-0.2.8 lib/mutant/context.rb
mutant-0.2.7 lib/mutant/context.rb
mutant-0.2.6 lib/mutant/context.rb
mutant-0.2.5 lib/mutant/context.rb
mutant-0.2.4 lib/mutant/context.rb
mutant-0.2.3 lib/mutant/context.rb
mutant-0.2.2 lib/mutant/context.rb
mutant-0.2.1 lib/mutant/context.rb
mutant-0.2.0 lib/mutant/context.rb