Sha256: dc09ea5fd9ac37862ace239f3292ee813326908dd983f6783707db7cdec7d50d

Contents?: true

Size: 310 Bytes

Versions: 13

Compression:

Stored size: 310 Bytes

Contents

module WebIDL
  module Ast
    class Sequence < Node
      attr_reader :type

      def initialize(parent, type, opts = {})
        super(parent)

        @type = type
        @nullable = !!opts[:nullable]
      end

      def nullable?
        @nullable
      end

    end # Sequence
  end # Ast
end # WebIDL

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
webidl-0.2.2 lib/webidl/ast/sequence.rb
webidl-0.2.1 lib/webidl/ast/sequence.rb
webidl-0.1.10 lib/webidl/ast/sequence.rb
webidl-0.2.0 lib/webidl/ast/sequence.rb
webidl-0.1.9 lib/webidl/ast/sequence.rb
webidl-0.1.8 lib/webidl/ast/sequence.rb
webidl-0.1.7 lib/webidl/ast/sequence.rb
webidl-0.1.6 lib/webidl/ast/sequence.rb
webidl-0.1.5 lib/webidl/ast/sequence.rb
webidl-0.1.4 lib/webidl/ast/sequence.rb
webidl-0.1.3 lib/webidl/ast/sequence.rb
webidl-0.1.2 lib/webidl/ast/sequence.rb
webidl-0.1.1 lib/webidl/ast/sequence.rb