Sha256: 00de1029d3135d8e248392e596a560648ee48c23ed2bb04499436de4b58f8d07

Contents?: true

Size: 732 Bytes

Versions: 1

Compression:

Stored size: 732 Bytes

Contents

module WebIDL
  module Ast
    class Interface < Node

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

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

      def initialize(parent, name)
        super(parent)

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

      def partial?
        @partial
      end

    end # Interface
  end # Ast
end # WebIDL

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
webidl-0.2.2 lib/webidl/ast/interface.rb