Sha256: a4d9f7acf29446b034dd79dbb366e97f280c2d9635f14513e62f32940f40a915

Contents?: true

Size: 336 Bytes

Versions: 10

Compression:

Stored size: 336 Bytes

Contents

module WebIDL
  module ParseTree
    class PartialDictionary < Dictionary

      def build(parent)
        intf = super
        intf.partial = true

        intf
      end

      def add_inheritance(intf)
        # partial dictionaries does not support inheritance
      end

      def partial?
        true
      end

    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
webidl-0.2.2 lib/webidl/parse_tree/partial_dictionary.rb
webidl-0.2.1 lib/webidl/parse_tree/partial_dictionary.rb
webidl-0.1.10 lib/webidl/parse_tree/partial_dictionary.rb
webidl-0.2.0 lib/webidl/parse_tree/partial_dictionary.rb
webidl-0.1.9 lib/webidl/parse_tree/partial_dictionary.rb
webidl-0.1.8 lib/webidl/parse_tree/partial_dictionary.rb
webidl-0.1.7 lib/webidl/parse_tree/partial_dictionary.rb
webidl-0.1.6 lib/webidl/parse_tree/partial_dictionary.rb
webidl-0.1.5 lib/webidl/parse_tree/partial_dictionary.rb
webidl-0.1.4 lib/webidl/parse_tree/partial_dictionary.rb