Sha256: b9b6746224bc48d1742d3329d90abea47165feb595fc4fe85e018679bb62a821

Contents?: true

Size: 235 Bytes

Versions: 14

Compression:

Stored size: 235 Bytes

Contents

require_relative 'subset'

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

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
deep-cover-0.1.14 lib/deep_cover/analyser/function.rb
deep-cover-0.1.13 lib/deep_cover/analyser/function.rb
deep-cover-0.1.12 lib/deep_cover/analyser/function.rb
deep-cover-0.1.11 lib/deep_cover/analyser/function.rb
deep-cover-0.1.10 lib/deep_cover/analyser/function.rb
deep-cover-0.1.9 lib/deep_cover/analyser/function.rb
deep-cover-0.1.8 lib/deep_cover/analyser/function.rb
deep-cover-0.1.7 lib/deep_cover/analyser/function.rb
deep-cover-0.1.6 lib/deep_cover/analyser/function.rb
deep-cover-0.1.5 lib/deep_cover/analyser/function.rb
deep-cover-0.1.4 lib/deep_cover/analyser/function.rb
deep-cover-0.1.3 lib/deep_cover/analyser/function.rb
deep-cover-0.1.2 lib/deep_cover/analyser/function.rb
deep-cover-0.1.1 lib/deep_cover/analyser/function.rb