Sha256: 81514e2d0e2f796f83ca44861bc41ab6f8df2b01358346c672fe1fb4f7ec63b4

Contents?: true

Size: 345 Bytes

Versions: 1

Compression:

Stored size: 345 Bytes

Contents

module Qrb
  module Syntax
    module BuiltinType
      include Support

      def compile(factory)
        clazz = resolve_ruby_const(builtin_type_name.to_s)
        factory.builtin(clazz)
      end

      def to_ast
        [:builtin_type, builtin_type_name.to_s]
      end

    end # module BuiltinType
  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/builtin_type.rb