Sha256: 5b017c70399333d743742b042ccd6b7fe28913eb6db81b7b68beef1fecf801ec

Contents?: true

Size: 442 Bytes

Versions: 23

Compression:

Stored size: 442 Bytes

Contents

module WebIDL
  module ParseTree
    class InterfaceMembers < 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

23 entries across 23 versions & 1 rubygems

Version Path
webidl-0.2.2 lib/webidl/parse_tree/interface_members.rb
webidl-0.2.1 lib/webidl/parse_tree/interface_members.rb
webidl-0.1.10 lib/webidl/parse_tree/interface_members.rb
webidl-0.2.0 lib/webidl/parse_tree/interface_members.rb
webidl-0.1.9 lib/webidl/parse_tree/interface_members.rb
webidl-0.1.8 lib/webidl/parse_tree/interface_members.rb
webidl-0.1.7 lib/webidl/parse_tree/interface_members.rb
webidl-0.1.6 lib/webidl/parse_tree/interface_members.rb
webidl-0.1.5 lib/webidl/parse_tree/interface_members.rb
webidl-0.1.4 lib/webidl/parse_tree/interface_members.rb
webidl-0.1.3 lib/webidl/parse_tree/interface_members.rb
webidl-0.1.2 lib/webidl/parse_tree/interface_members.rb
webidl-0.1.1 lib/webidl/parse_tree/interface_members.rb
webidl-0.1.0 lib/webidl/parse_tree/interface_members.rb
webidl-0.0.9 lib/webidl/parse_tree/interface_members.rb
webidl-0.0.8 lib/webidl/parse_tree/interface_members.rb
webidl-0.0.7 lib/webidl/parse_tree/interface_members.rb
webidl-0.0.6 lib/webidl/parse_tree/interface_members.rb
webidl-0.0.5 lib/webidl/parse_tree/interface_members.rb
webidl-0.0.4 lib/webidl/parse_tree/interface_members.rb