Sha256: 0a475b9cf268748efaea525bbd20d48038c3c248948bcc6aabc140f4a049255c

Contents?: true

Size: 281 Bytes

Versions: 1

Compression:

Stored size: 281 Bytes

Contents

module Qrb
  module Syntax
    module SeqType

      def compile(factory)
        elm_type = type.compile(factory)
        factory.seq(elm_type)
      end

      def to_ast
        [:seq_type, type.to_ast]
      end

    end # module SeqType
  end # module Syntax
end # module Qrb

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
qrb-0.3.0 lib/qrb/syntax/seq_type.rb