Sha256: 48d853801410b96274b54b2e5f27d7359473f4d98db682a4f2335c83727cfae3
Contents?: true
Size: 315 Bytes
Versions: 1
Compression:
Stored size: 315 Bytes
Contents
module Qrb module Syntax module TypeRef def compile(factory) factory.fetch(type_name.to_s) do |n| raise Error, "Unknown type `#{n}`" end end def to_ast [:type_ref, type_name.to_s] end end # module TypeRef 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/type_ref.rb |