Sha256: 2bb66bcdf0c959bb147fd1c9585549513fa17c06145d28f584181a15796208c2

Contents?: true

Size: 444 Bytes

Versions: 8

Compression:

Stored size: 444 Bytes

Contents

module WebIDL
  module ParseTree
    class DictionaryMembers < Treetop::Runtime::SyntaxNode

      def build(parent)
        m = member.build(parent)
        m.extended_attributes = eal.build(parent) unless eal.empty?

        list = [m]
        list += members.build(parent) unless members.empty?

        if parent
          parent.members = list
        end

        list
      end

    end # InterfaceMembers
  end # ParseTree
end # WebIDL

Version data entries

8 entries across 8 versions & 1 rubygems

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