Sha256: f49df3b413d6cdf165fab999de38e1ec5bd45dc531b14d71d639bbc8ca35fb49

Contents?: true

Size: 480 Bytes

Versions: 3

Compression:

Stored size: 480 Bytes

Contents

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

      def build(parent)
        debugger unless default.empty? or default.respond_to?(:build)

        dm = Ast::DictionaryMember.new parent,
                                       type.build(parent),
                                       name.build,
                                       default.build unless default.empty?
      end

    end # Attribute
  end # ParseTree
end # WebIDL

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
webidl-0.1.5 lib/webidl/parse_tree/dictionary_member.rb
webidl-0.1.4 lib/webidl/parse_tree/dictionary_member.rb
webidl-0.1.3 lib/webidl/parse_tree/dictionary_member.rb