Sha256: d36ecfe706d381bcd3ab832739771c9952be912bec96899f1a268f228829bf5e
Contents?: true
Size: 415 Bytes
Versions: 19
Compression:
Stored size: 415 Bytes
Contents
module Finitio module Syntax module TupleType include Node capture :heading def compile(factory) factory.send(kind, heading.compile(factory)) end def to_ast [ :"#{kind}_type", heading.to_ast ] end private def kind heading.multi? ? :multi_tuple : :tuple end end # module TupleType end # module Syntax end # module Finitio
Version data entries
19 entries across 19 versions & 1 rubygems