Sha256: 4d84b5b81b05250b111e45f2d846ef6ac7d1a5f9ae5ed0ef1dd8d6da8b2e69bb

Contents?: true

Size: 335 Bytes

Versions: 9

Compression:

Stored size: 335 Bytes

Contents

module Bmg
  module Operator
    module Nary
      include Operator

    protected

      attr_reader :operands

      def _visit(parent, visitor)
        visitor.call(self, parent)
        operands.each{|op|
          op.send(:_visit, self, visitor)
        }
      end

    end # module Nary
  end # module Operator
end # module Bmg

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bmg-0.16.7 lib/bmg/operator/shared/nary.rb
bmg-0.16.6 lib/bmg/operator/shared/nary.rb
bmg-0.16.5 lib/bmg/operator/shared/nary.rb
bmg-0.16.4 lib/bmg/operator/shared/nary.rb
bmg-0.16.3 lib/bmg/operator/shared/nary.rb
bmg-0.16.2 lib/bmg/operator/shared/nary.rb
bmg-0.16.1 lib/bmg/operator/shared/nary.rb
bmg-0.16.0 lib/bmg/operator/shared/nary.rb
bmg-0.16.0.pre.rc2 lib/bmg/operator/shared/nary.rb