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.0.3 lib/webidl/parse_tree/interface_members.rb
webidl-0.0.2 lib/webidl/parse_tree/interface_members.rb
webidl-0.0.1 lib/webidl/parse_tree/interface_members.rb