Sha256: 34c1164cd9a9c9fe097c196a0cc654810a6a851945aa5b8d8de68bf10487dcf1

Contents?: true

Size: 635 Bytes

Versions: 10

Compression:

Stored size: 635 Bytes

Contents

module WebIDL
  module Ast
    class Dictionary < Node

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

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

      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

10 entries across 10 versions & 1 rubygems

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