Sha256: 9d7ae44532237b2fc1ad7a314de546830b099cc2608224751e04e6875eedf843

Contents?: true

Size: 281 Bytes

Versions: 1

Compression:

Stored size: 281 Bytes

Contents

module Qrb
  module Syntax
    module SetType

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

      def to_ast
        [:set_type, type.to_ast]
      end

    end # module SetType
  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/set_type.rb