Sha256: ae534d84a5203603a40f066597f6644efa60adb099fdcfa19bdb69832d1685da

Contents?: true

Size: 605 Bytes

Versions: 1

Compression:

Stored size: 605 Bytes

Contents

module WebIDL
  module Ast
    class Dictionary < Node

      def self.list
        @list ||= {}
      end

      attr_reader :name
      attr_accessor :extended_attributes,
                    :members,
                    :inherits

      def initialize(parent, name)
        super(parent)

        @name                = name
        @members             = []
        @inherits            = []
        @implements          = []
        @extended_attributes = []
        @partial             = false
      end

      def partial?
        @partial
      end

    end # Dictionary
  end # Ast
end # WebIDL

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
webidl-0.1.3 lib/webidl/ast/dictionary.rb