Sha256: da773e3607025eab13168f2b4902b069cfbbf682031d03869cd87bf7b2e6d3c9
Contents?: true
Size: 243 Bytes
Versions: 2
Compression:
Stored size: 243 Bytes
Contents
module Qrb module Syntax module UnionType def compile(factory) cds = captures[:sub_type].map{|x| x.compile(factory) } factory.union(cds) end end # module UnionType end # module Syntax end # module Qrb
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
qrb-0.2.0 | lib/qrb/syntax/union_type.rb |
qrb-0.1.0 | lib/qrb/syntax/union_type.rb |