Sha256: cfdb876b834c65d82b2eb3953a07624474a3d820b1fffe3e982d6a4b2215b7b3

Contents?: true

Size: 440 Bytes

Versions: 7

Compression:

Stored size: 440 Bytes

Contents

require 'simplabs/excellent/parsing/scopeable'

module Simplabs

  module Excellent

    module Parsing

      class ModuleContext < SexpContext #:nodoc:

        include Scopeable

        attr_reader :methods
        attr_reader :line_count

        def initialize(exp, parent)
          super
          @name, @full_name = get_names
          @methods = []
          @line_count = count_lines
        end

      end

    end

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
simplabs-excellent-1.2.1 lib/simplabs/excellent/parsing/module_context.rb
simplabs-excellent-1.2.2 lib/simplabs/excellent/parsing/module_context.rb
simplabs-excellent-1.3.0 lib/simplabs/excellent/parsing/module_context.rb
simplabs-excellent-1.3.1 lib/simplabs/excellent/parsing/module_context.rb
simplabs-excellent-1.4.0 lib/simplabs/excellent/parsing/module_context.rb
simplabs-excellent-1.4.1 lib/simplabs/excellent/parsing/module_context.rb
simplabs-excellent-1.4.2 lib/simplabs/excellent/parsing/module_context.rb