Sha256: 85970eb2155066fa5933062d9f3bd4f4728eb2beb2ad133a0f9545c1ebc47033

Contents?: true

Size: 275 Bytes

Versions: 2

Compression:

Stored size: 275 Bytes

Contents

module Finitio
  module Syntax
    module TupleType

      def compile(factory)
        factory.tuple(heading.compile(factory))
      end

      def to_ast
        [:tuple_type, heading.to_ast]
      end

    end # module TupleType
  end # module Syntax
end # module Finitio

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
finitio-0.4.1 lib/finitio/syntax/tuple_type.rb
finitio-0.4.0 lib/finitio/syntax/tuple_type.rb