Sha256: 691e5f3961b855719f64bbe38ff757ef54eb6990a4bb5104bbf5dbadd72b589c

Contents?: true

Size: 340 Bytes

Versions: 10

Compression:

Stored size: 340 Bytes

Contents

module WebIDL
  module ParseTree
    class PartialInterface < Interface

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

        intf
      end

      def add_inheritance(parent, intf)
        # partial interfaces 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_interface.rb
webidl-0.2.1 lib/webidl/parse_tree/partial_interface.rb
webidl-0.1.10 lib/webidl/parse_tree/partial_interface.rb
webidl-0.2.0 lib/webidl/parse_tree/partial_interface.rb
webidl-0.1.9 lib/webidl/parse_tree/partial_interface.rb
webidl-0.1.8 lib/webidl/parse_tree/partial_interface.rb
webidl-0.1.7 lib/webidl/parse_tree/partial_interface.rb
webidl-0.1.6 lib/webidl/parse_tree/partial_interface.rb
webidl-0.1.5 lib/webidl/parse_tree/partial_interface.rb
webidl-0.1.4 lib/webidl/parse_tree/partial_interface.rb