Sha256: 77a5319145050663dfe5886f26cabf88ecef6586a83b92b3bc19276e3acb9369

Contents?: true

Size: 273 Bytes

Versions: 34

Compression:

Stored size: 273 Bytes

Contents

# frozen_string_literal: true

require_relative 'subset'

module DeepCover
  class Analyser::Function < Analyser
    include Analyser::Subset
    SUBSET_CLASSES = [Node::Block, Node::Defs, Node::Def].freeze

    def node_runs(node)
      super(node.body)
    end
  end
end

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
deep-cover-core-1.1.0 lib/deep_cover/analyser/function.rb
deep-cover-core-1.0.0 lib/deep_cover/analyser/function.rb
deep-cover-core-0.8.1 lib/deep_cover/analyser/function.rb
deep-cover-core-0.8.0 lib/deep_cover/analyser/function.rb
deep-cover-core-0.7.10 lib/deep_cover/analyser/function.rb
deep-cover-core-0.7.9 lib/deep_cover/analyser/function.rb
deep-cover-core-0.7.8 lib/deep_cover/analyser/function.rb
deep-cover-core-0.7.7 lib/deep_cover/analyser/function.rb
deep-cover-core-0.7.6 lib/deep_cover/analyser/function.rb
deep-cover-core-0.7.5 lib/deep_cover/analyser/function.rb
deep-cover-core-0.7.4 lib/deep_cover/analyser/function.rb
deep-cover-core-0.7.3 lib/deep_cover/analyser/function.rb
deep-cover-core-0.7.2 lib/deep_cover/analyser/function.rb
deep-cover-core-0.7.1 lib/deep_cover/analyser/function.rb
deep-cover-core-0.7.0 lib/deep_cover/analyser/function.rb
deep-cover-core-0.6.4 lib/deep_cover/analyser/function.rb
deep-cover-core-0.6.3 lib/deep_cover/analyser/function.rb
deep-cover-core-0.6.3.pre lib/deep_cover/analyser/function.rb
deep-cover-0.6.2 lib/deep_cover/analyser/function.rb
deep-cover-0.6.1 lib/deep_cover/analyser/function.rb